all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Flexible Killing
@ 2007-01-10 19:00 haws
  2007-01-11  1:15 ` Rupert
  0 siblings, 1 reply; 3+ messages in thread
From: haws @ 2007-01-10 19:00 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-11  5:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 19:00 Flexible Killing haws
2007-01-11  1:15 ` Rupert
2007-01-11  5:36   ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.