aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-09-22 07:22:46 +0000
committerRichard M. Stallman1994-09-22 07:22:46 +0000
commit8be055fdee6b20d22e61ff68665406c1e81c1b5d (patch)
treee5abbd4366edbe635f21c706b461de8bcc7cc392
parent4dc7e43ba1b154caebdaeafa07e9b8f0835209fe (diff)
downloademacs-8be055fdee6b20d22e61ff68665406c1e81c1b5d.tar.gz
emacs-8be055fdee6b20d22e61ff68665406c1e81c1b5d.zip
(insert-buffer): Default to first buffer other than current one.
-rw-r--r--lisp/simple.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 1e30d146c16..0ced4f6787d 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1230,7 +1230,9 @@ With argument, rotate that many kills forward (or backward, if negative)."
1230Puts mark after the inserted text. 1230Puts mark after the inserted text.
1231BUFFER may be a buffer or a buffer name." 1231BUFFER may be a buffer or a buffer name."
1232 (interactive (list (progn (barf-if-buffer-read-only) 1232 (interactive (list (progn (barf-if-buffer-read-only)
1233 (read-buffer "Insert buffer: " (other-buffer) t)))) 1233 (read-buffer "Insert buffer: "
1234 (other-buffer (current-buffer) t)
1235 t))))
1234 (or (bufferp buffer) 1236 (or (bufferp buffer)
1235 (setq buffer (get-buffer buffer))) 1237 (setq buffer (get-buffer buffer)))
1236 (let (start end newmark) 1238 (let (start end newmark)