[Top][All Lists]

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

Re: Delete (kill) entire line at cursor - how?

From: Matthew Flaschen
Subject: Re: Delete (kill) entire line at cursor - how?
Date: Wed, 07 Mar 2007 02:29:20 -0500
User-agent: Thunderbird (X11/20070104)

Dave Benjamin wrote:
> address@hidden wrote:
>> And I use stable version (21.4 that is), so the `kill-whole-line'
>> command is unavailable to me.
>> Maybe it does exactly what Matt suggested ;-)
> Even if you're stuck with Emacs 21, you can still use the
> kill-whole-line function from Emacs 22. It's in the file "simple.el" -
> you can just paste that function into your .emacs and it'll work fine
> (at least, it did for me).

I just took a look.  It does what mine does, but better.  ;)
Specifically, it takes care of invisible text, and puts the killed text
in the right part of the kill region.  I think either should suit the OP

Matt Flaschen

reply via email to

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