From e2455dd16032f21884b39169a70386801a27392a Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Sun, 3 Jul 2016 21:40:26 -0400 Subject: [PATCH v1] kill-rectangle should mention kill-rectangle * lisp/rect.el (kill-rectangle): Mention `killed-rectangle' in docstring and warning message, rather than kill ring (Bug#19773). --- lisp/rect.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/rect.el b/lisp/rect.el index 43621d9..8fedce2 100644 --- a/lisp/rect.el +++ b/lisp/rect.el @@ -284,7 +284,7 @@ kill-rectangle deleted. If the buffer is read-only, Emacs will beep and refrain from deleting -the rectangle, but put it in the kill ring anyway. This means that +the rectangle, but put it in `killed-rectangle' anyway. This means that you can use this command to copy text from a read-only buffer. \(If the variable `kill-read-only-ok' is non-nil, then this won't even beep.)" @@ -295,7 +295,7 @@ kill-rectangle (setq deactivate-mark t) (setq killed-rectangle (extract-rectangle start end)) (if kill-read-only-ok - (progn (message "Read only text copied to kill ring") nil) + (progn (message "Read only text copied to `killed-rectangle'") nil) (barf-if-buffer-read-only) (signal 'text-read-only (list (current-buffer))))))) -- 2.8.0