(command-line-1): When >2 files visited,

leave the last one visible, and make that the selected window.
This commit is contained in:
Richard M. Stallman 2001-05-20 16:27:59 +00:00
parent 7e97126111
commit c02319f949

View 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)