]> code.delx.au - gnu-emacs/commitdiff
(command-line-1): When >2 files visited,
authorRichard M. Stallman <rms@gnu.org>
Sun, 20 May 2001 16:27:59 +0000 (16:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 20 May 2001 16:27:59 +0000 (16:27 +0000)
leave the last one visible, and make that the selected window.

lisp/startup.el

index 84266811be105966562e04db2670137a2f36c56a..e99c0bacdbe5b926717f4a6e641381b6fe4a6b41 100644 (file)
@@ -1593,12 +1593,11 @@ Type \\[describe-distribution] for information on getting the latest version."))
                             (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)