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

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

Re: whole-line-or-region


From: Francesco Potortì
Subject: Re: whole-line-or-region
Date: Sat, 29 Nov 2008 18:23:56 +0100

This is what I have had in my .emacs for years.  It is one of those
things that I miss most when using an Emacs that I have not yet
customised:

(defun kill-entire-line (n)
  "Kill ARG entire lines starting from the one where point is."
  (interactive "*p")
  (beginning-of-line)
  (kill-line n))
(global-set-key "\M-k" 'kill-entire-line)




reply via email to

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