[Top][All Lists]

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

Re: copy-region-to-variable

From: Johan Bockgård
Subject: Re: copy-region-to-variable
Date: Wed, 04 Feb 2004 14:50:24 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (usg-unix-v)

Joakim Hove <address@hidden> writes:

>      (kill-region p1 p2)

(delete-region p1 p2) ; thou shalt not (mess with the) kill (ring)

Also consider:

     - Function: delete-and-extract-region start end
         This function deletes the text between positions START and
         END in the current buffer, and returns a string containing
         the text just deleted.
         If point was inside the deleted region, its value afterward
         is START. Otherwise, point relocates with the surrounding
         text, as markers do.
Johan Bockgård

reply via email to

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