# HG changeset patch # User Richard M. Stallman # Date 852533489 0 # Node ID ba46af9fd00df33614f8dd294b3cb81df49affca # Parent 7584a510ad859f53da2cd1420252d6f6a978a078 (command-line-1): Don't run buffer-menu if in batch mode. diff -r 7584a510ad85 -r ba46af9fd00d lisp/startup.el --- a/lisp/startup.el Mon Jan 06 06:51:12 1997 +0000 +++ b/lisp/startup.el Mon Jan 06 06:51:29 1997 +0000 @@ -947,10 +947,11 @@ (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."