(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 1e30d14..0ced4f6 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)