(command-line-1): When >2 files visited,
leave the last one visible, and make that the selected window.
This commit is contained in:
parent
7e97126111
commit
c02319f949
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue