Mercurial > emacs
changeset 101828:fde299e29d94
(kill-whole-line): Provide a default argument of 1.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 06 Feb 2009 03:59:15 +0000 |
parents | ec4427ac212e |
children | 0b38f4f78a98 |
files | lisp/ChangeLog lisp/simple.el |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Fri Feb 06 03:58:20 2009 +0000 +++ b/lisp/ChangeLog Fri Feb 06 03:59:15 2009 +0000 @@ -1,3 +1,11 @@ +2009-02-06 Glenn Morris <rgm@gnu.org> + + * simple.el (kill-whole-line): Provide a default argument of 1. + + * mail/undigest.el (rmail-mail-separator): Delete. + (undigestify-rmail-message, unforward-rmail-message): Update for + mbox Rmail. + 2009-02-05 Kenichi Handa <handa@m17n.org> * international/fontset.el (script-representative-chars): Remove
--- a/lisp/simple.el Fri Feb 06 03:58:20 2009 +0000 +++ b/lisp/simple.el Fri Feb 06 03:59:15 2009 +0000 @@ -3219,6 +3219,7 @@ \(This is meant to make \\[repeat] work well with negative arguments.\) If ARG is zero, kill current line but exclude the trailing newline." (interactive "p") + (or arg (setq arg 1)) (if (and (> arg 0) (eobp) (save-excursion (forward-visible-line 0) (eobp))) (signal 'end-of-buffer nil)) (if (and (< arg 0) (bobp) (save-excursion (end-of-visible-line) (bobp)))