Commit c02319f9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

leave the last one visible, and make that the selected window.
parent 7e971261
...@@ -1593,12 +1593,11 @@ Type \\[describe-distribution] for information on getting the latest version.")) ...@@ -1593,12 +1593,11 @@ Type \\[describe-distribution] for information on getting the latest version."))
(goto-line line)) (goto-line line))
(setq line 0)))))))) (setq line 0))))))))
;; If 3 or more files visited, and not all visible, ;; 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) (and (> file-count 2)
(not noninteractive) (not noninteractive)
(or (get-buffer-window first-file-buffer) (or (get-buffer-window first-file-buffer)
(progn (other-window 1) (list-buffers))))))
(buffer-menu)))))))
(defun command-line-normalize-file-name (file) (defun command-line-normalize-file-name (file)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment