diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a55a634dc05..ad4725b524f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2001-02-06 Eli Zaretskii <eliz@is.elta.co.il> | ||
| 2 | |||
| 3 | * simple.el (kill-line): Doc fix. | ||
| 4 | |||
| 1 | 2001-02-05 Dave Love <fx@gnu.org> | 5 | 2001-02-05 Dave Love <fx@gnu.org> |
| 2 | 6 | ||
| 3 | * loadup.el: Revert last two changes -- bootstrapping works with | 7 | * loadup.el: Revert last two changes -- bootstrapping works with |
diff --git a/lisp/simple.el b/lisp/simple.el index d04a3b0091e..f4d03ff2226 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -2005,7 +2005,11 @@ To kill a whole line, when point is not at the beginning, type \ | |||
| 2005 | If `kill-whole-line' is non-nil, then this command kills the whole line | 2005 | If `kill-whole-line' is non-nil, then this command kills the whole line |
| 2006 | including its terminating newline, when used at the beginning of a line | 2006 | including its terminating newline, when used at the beginning of a line |
| 2007 | with no argument. As a consequence, you can always kill a whole line | 2007 | with no argument. As a consequence, you can always kill a whole line |
| 2008 | by typing \\[beginning-of-line] \\[kill-line]." | 2008 | by typing \\[beginning-of-line] \\[kill-line]. |
| 2009 | |||
| 2010 | If the buffer is read-only, Emacs will beep and refrain from deleting | ||
| 2011 | the line, but put the line in the kill ring anyway. This means that | ||
| 2012 | you can use this command to copy text from a read-only buffer." | ||
| 2009 | (interactive "P") | 2013 | (interactive "P") |
| 2010 | (kill-region (point) | 2014 | (kill-region (point) |
| 2011 | ;; It is better to move point to the other end of the kill | 2015 | ;; It is better to move point to the other end of the kill |