aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-02-06 06:54:56 +0000
committerEli Zaretskii2001-02-06 06:54:56 +0000
commitd3f227849413878bb3056be28fc96cd4372015dc (patch)
tree942ef2663af9e7b477040a3f55f302cf61a0e4f5
parent255208bebdc364fdceb07eb8987c0672269b8a92 (diff)
downloademacs-d3f227849413878bb3056be28fc96cd4372015dc.tar.gz
emacs-d3f227849413878bb3056be28fc96cd4372015dc.zip
(kill-line): Doc fix.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el6
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 @@
12001-02-06 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * simple.el (kill-line): Doc fix.
4
12001-02-05 Dave Love <fx@gnu.org> 52001-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 \
2005If `kill-whole-line' is non-nil, then this command kills the whole line 2005If `kill-whole-line' is non-nil, then this command kills the whole line
2006including its terminating newline, when used at the beginning of a line 2006including its terminating newline, when used at the beginning of a line
2007with no argument. As a consequence, you can always kill a whole line 2007with no argument. As a consequence, you can always kill a whole line
2008by typing \\[beginning-of-line] \\[kill-line]." 2008by typing \\[beginning-of-line] \\[kill-line].
2009
2010If the buffer is read-only, Emacs will beep and refrain from deleting
2011the line, but put the line in the kill ring anyway. This means that
2012you 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