(command-line-1): Don't run buffer-menu if in batch mode.
This commit is contained in:
parent
0dd96d4cbc
commit
ac707ebc83
1 changed files with 5 additions and 4 deletions
|
@ -947,10 +947,11 @@ Type \\[describe-distribution] for information on getting the latest version."))
|
|||
(setq line 0))))))))
|
||||
;; If 3 or more files visited, and not all visible,
|
||||
;; show user what they all are.
|
||||
(if (> file-count 2)
|
||||
(or (get-buffer-window first-file-buffer)
|
||||
(progn (other-window 1)
|
||||
(buffer-menu)))))))
|
||||
(and (> file-count 2)
|
||||
(not noninteractive)
|
||||
(or (get-buffer-window first-file-buffer)
|
||||
(progn (other-window 1)
|
||||
(buffer-menu)))))))
|
||||
|
||||
(defun command-line-normalize-file-name (file)
|
||||
"Collapse multiple slashes to one, to handle non-Emacs file names."
|
||||
|
|
Loading…
Add table
Reference in a new issue