[Top][All Lists]

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

Re: Line Copy to Another Buffer

From: Joe Casadonte
Subject: Re: Line Copy to Another Buffer
Date: 11 Sep 2002 22:04:03 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

On Wed, 11 Sep 2002, Kevin Rodgers wrote:

>>>(defun art-copy-line ()
>>>  (interactive)
>>>  (append-to-buffer "COPY-BUFFER" (line-beginning-position)
>>>                                  (line-end-position)))
>> Through a save-excursion around that and you're set.
> Why is that necessary?  The line-*-positions don't affect point, and
> append-to-buffer doesn't select the COPY-BUFFER buffer.

Mea culpa.  You're right, of course.


Joe Casadonte

         Llama Fresh Farms =>
   Gay Media Resource List =>
            Perl for Win32 =>
               Emacs Stuff =>
          Music CD Trading =>
                       Live Free, that's the message!

reply via email to

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