aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/simple.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 243b1eeb211..b3e756c780e 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1057,7 +1057,8 @@ With argument, rotate that many kills forward (or backward, if negative)."
1057 "Insert after point the contents of BUFFER. 1057 "Insert after point the contents of BUFFER.
1058Puts mark after the inserted text. 1058Puts mark after the inserted text.
1059BUFFER may be a buffer or a buffer name." 1059BUFFER may be a buffer or a buffer name."
1060 (interactive (list (read-buffer "Insert buffer: " (other-buffer) t))) 1060 (interactive (list (progn (barf-if-buffer-read-only)
1061 (read-buffer "Insert buffer: " (other-buffer) t))))
1061 (or (bufferp buffer) 1062 (or (bufferp buffer)
1062 (setq buffer (get-buffer buffer))) 1063 (setq buffer (get-buffer buffer)))
1063 (let (start end newmark) 1064 (let (start end newmark)