comparison lisp/startup.el @ 41581:40ffde2a2402

(command-line-1): Don't try to call process-list if it is not fboundp.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 26 Nov 2001 19:40:54 +0000
parents b04f0b4fdbd6
children 39c6a725758c
comparison
equal deleted inserted replaced
41580:c386756cfa43 41581:40ffde2a2402
1490 (setq column 0)))))))) 1490 (setq column 0))))))))
1491 ;; If 3 or more files visited, and not all visible, 1491 ;; If 3 or more files visited, and not all visible,
1492 ;; show user what they all are. But leave the last one current. 1492 ;; show user what they all are. But leave the last one current.
1493 (and (> file-count 2) 1493 (and (> file-count 2)
1494 (not noninteractive) 1494 (not noninteractive)
1495 (not inhibit-startup-buffer-menu) 1495 (not inhibit-startup-buffer-menu)
1496 (or (get-buffer-window first-file-buffer) 1496 (or (get-buffer-window first-file-buffer)
1497 (list-buffers)))) 1497 (list-buffers))))
1498 1498
1499 ;; No command args: maybe display a startup screen. 1499 ;; No command args: maybe display a startup screen.
1500 (when (and (not inhibit-startup-message) (not noninteractive) 1500 (when (and (not inhibit-startup-message) (not noninteractive)
1501 ;; Don't display startup screen if init file 1501 ;; Don't display startup screen if init file
1502 ;; has selected another buffer. 1502 ;; has selected another buffer.
1503 (string= (buffer-name) "*scratch*") 1503 (string= (buffer-name) "*scratch*")
1504 ;; Don't display startup screen if init file 1504 ;; Don't display startup screen if init file
1505 ;; has started some sort of server. 1505 ;; has started some sort of server.
1506 (null (process-list)) 1506 (not (and (fboundp 'process-list)
1507 (process-list)))
1507 ;; Don't display startup screen if init file 1508 ;; Don't display startup screen if init file
1508 ;; has inserted some text in *scratch*. 1509 ;; has inserted some text in *scratch*.
1509 (= 0 (buffer-size))) 1510 (= 0 (buffer-size)))
1510 ;; Display a startup screen, after some preparations. 1511 ;; Display a startup screen, after some preparations.
1511 1512