help-gnu-emacs
[Top][All Lists]
Advanced

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

Flexible Killing


From: haws
Subject: Flexible Killing
Date: 10 Jan 2007 11:00:53 -0800
User-agent: G2/1.0

Hello!

I'm a emacs beginner and would like to write a function that performs
this:
If there is a region selected, then it would kill-region, otherwise it
would kill-line.
Can anyone tell me how? I bet it's 2 lines of code!

Thank you very much,

Hugo



reply via email to

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