emacs-devel
[Top][All Lists]
Advanced

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

Re: kill-ring-max or other var to convert killing to deleting?


From: Richard Stallman
Subject: Re: kill-ring-max or other var to convert killing to deleting?
Date: Sat, 04 Mar 2006 19:58:21 -0500

    You could do this, which is essentially the definition of
    `backward-kill-word' with "delete" substituted for "kill":

     (delete-region (point) (progn (forward-word (- arg)) (point)))

That is the recommended way to do it.  I think this is cleaner than
using a kill command and faking it out so it won't kill.




reply via email to

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