From c02319f9490d424e9bc328de5a27df332954c719 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 20 May 2001 16:27:59 +0000 Subject: [PATCH] (command-line-1): When >2 files visited, leave the last one visible, and make that the selected window. --- lisp/startup.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/startup.el b/lisp/startup.el index 84266811be1..e99c0bacdbe 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -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) -- 2.39.5