changeset 37834:a3e60560cd39

(command-line-1): When >2 files visited, leave the last one visible, and make that the selected window.
author Richard M. Stallman <rms@gnu.org>
date Sun, 20 May 2001 16:27:59 +0000
parents a2fb133c122d
children a4f04496cfb0
files lisp/startup.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Sun May 20 16:27:51 2001 +0000
+++ b/lisp/startup.el	Sun May 20 16:27:59 2001 +0000
@@ -1593,12 +1593,11 @@
 			     (goto-line line))
 			 (setq line 0))))))))
       ;; If 3 or more files visited, and not all visible,
-      ;; show user what they all are.
+      ;; show user what they all are.  But leave the last one current.
       (and (> file-count 2)
 	   (not noninteractive)
 	   (or (get-buffer-window first-file-buffer)
-	       (progn (other-window 1)
-		      (buffer-menu)))))))
+	       (list-buffers))))))
 
 
 (defun command-line-normalize-file-name (file)