]> git.eshelyaron.com Git - emacs.git/commitdiff
(insert-buffer): Default to first buffer other than current one.
authorRichard M. Stallman <rms@gnu.org>
Thu, 22 Sep 1994 07:22:46 +0000 (07:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 22 Sep 1994 07:22:46 +0000 (07:22 +0000)
lisp/simple.el

index 1e30d146c16a7a68ba4bc1eab74248b0062979a5..0ced4f6787dfca30593e61f85a2ff92e5367c91c 100644 (file)
@@ -1230,7 +1230,9 @@ With argument, rotate that many kills forward (or backward, if negative)."
 Puts mark after the inserted text.
 BUFFER may be a buffer or a buffer name."
   (interactive (list (progn (barf-if-buffer-read-only)
-                           (read-buffer "Insert buffer: " (other-buffer) t))))
+                           (read-buffer "Insert buffer: " 
+                                        (other-buffer (current-buffer) t)
+                                        t))))
   (or (bufferp buffer)
       (setq buffer (get-buffer buffer)))
   (let (start end newmark)