info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Oops, sorry was Re: how to get around deprecated function


From: B . T . Raven
Subject: Oops, sorry was Re: how to get around deprecated function
Date: 28 Apr 2015 15:57:26 -0700
User-agent: Direct Read News 5.60

<mhp1ol01cjq@drn.newsguy.com>B. T. Raven28 Apr 2015 15:31:49 -0700
>
>Hello:
>
>I am constantly losing short pieces of text left in *scratch* and I wrote this
>interactive function:
>
>(defun save-scratchtemp ();; M-x scr
>  (interactive)
>  (switch-to-buffer "*scratch*")
>  (mark-whole-buffer)
> (setq start (point) end (mark))
> (append-to-file start end "c:/mydocu~1/scratchtemp.txt")
>)
>
>It "works" but according to the docs mark-whole-buffer shouldn't be used this
>way.Is there an understandable (to me) right way of doing this or doing
>something else that can be invoked as easily?
>
>Thanks,
>
>Ed
>


This was supposed to go to gnu.emacs.help

Ed



reply via email to

[Prev in Thread] Current Thread [Next in Thread]