(command-line-1): Don't run buffer-menu if in batch mode.

This commit is contained in:
Richard M. Stallman 1997-01-06 06:51:29 +00:00
parent 0dd96d4cbc
commit ac707ebc83

View file

@ -947,7 +947,8 @@ 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)
(and (> file-count 2)
(not noninteractive)
(or (get-buffer-window first-file-buffer)
(progn (other-window 1)
(buffer-menu)))))))