(command-line-1): Don't try to call process-list if it is not fboundp.

This commit is contained in:
Eli Zaretskii 2001-11-26 19:41:57 +00:00
parent bc5c763a1b
commit 26780e5b6b
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2001-11-26 Eli Zaretskii <eliz@is.elta.co.il>
* startup.el (command-line-1): Don't try to call process-list if
it is not fboundp.
2001-11-26 Sam Steingold <sds@gnu.org>
* frame.el (show-trailing-whitespace): Remove :set argument (the

View file

@ -1492,7 +1492,7 @@ where FACE is a valid face specification, as it can be used with
;; show user what they all are. But leave the last one current.
(and (> file-count 2)
(not noninteractive)
(not inhibit-startup-buffer-menu)
(not inhibit-startup-buffer-menu)
(or (get-buffer-window first-file-buffer)
(list-buffers))))
@ -1503,7 +1503,8 @@ where FACE is a valid face specification, as it can be used with
(string= (buffer-name) "*scratch*")
;; Don't display startup screen if init file
;; has started some sort of server.
(null (process-list))
(not (and (fboundp 'process-list)
(process-list)))
;; Don't display startup screen if init file
;; has inserted some text in *scratch*.
(= 0 (buffer-size)))