Mercurial > emacs
comparison lisp/simple.el @ 50652:b108545d1f24
(kill-line): Doc fix.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 21 Apr 2003 01:35:20 +0000 |
parents | 2018e9013e52 |
children | ee0efd6ecb89 |
comparison
equal
deleted
inserted
replaced
50651:7b04c2825a38 | 50652:b108545d1f24 |
---|---|
2143 If you want to append the killed line to the last killed text, | 2143 If you want to append the killed line to the last killed text, |
2144 use \\[append-next-kill] before \\[kill-line]. | 2144 use \\[append-next-kill] before \\[kill-line]. |
2145 | 2145 |
2146 If the buffer is read-only, Emacs will beep and refrain from deleting | 2146 If the buffer is read-only, Emacs will beep and refrain from deleting |
2147 the line, but put the line in the kill ring anyway. This means that | 2147 the line, but put the line in the kill ring anyway. This means that |
2148 you can use this command to copy text from a read-only buffer." | 2148 you can use this command to copy text from a read-only buffer. |
2149 \(If the variable `kill-read-only-ok' is non-nil, then this won't | |
2150 even beep.)" | |
2149 (interactive "P") | 2151 (interactive "P") |
2150 (kill-region (point) | 2152 (kill-region (point) |
2151 ;; It is better to move point to the other end of the kill | 2153 ;; It is better to move point to the other end of the kill |
2152 ;; before killing. That way, in a read-only buffer, point | 2154 ;; before killing. That way, in a read-only buffer, point |
2153 ;; moves across the text that is copied to the kill ring. | 2155 ;; moves across the text that is copied to the kill ring. |