# HG changeset patch # User Richard M. Stallman # Date 753355343 0 # Node ID 7eff308493574107c69af53add4ea51c6414f124 # Parent ff4c359fa626bf07f1f7f6008c9bdc0fcaacf0a0 (command-line-1): Display a message in the echo area. diff -r ff4c359fa626 -r 7eff30849357 lisp/startup.el --- a/lisp/startup.el Mon Nov 15 08:04:41 1993 +0000 +++ b/lisp/startup.el Mon Nov 15 09:22:23 1993 +0000 @@ -304,6 +304,11 @@ (if noninteractive (kill-emacs t))) (defun command-line-1 (command-line-args-left) + (or noninteractive (input-pending-p) + (message (if (eq (key-binding "\C-h\C-p") 'describe-project) + "For information about the GNU Project and its goals, type C-h C-p." + (substitute-command-keys + "For information about the GNU Project and its goals, type \\[describe-project].")))) (if (null command-line-args-left) (cond ((and (not inhibit-startup-message) (not noninteractive) ;; Don't clobber a non-scratch buffer if init file @@ -427,8 +432,6 @@ (if (> file-count 2) (or (get-buffer-window first-file-buffer) (progn (other-window 1) - (buffer-menu)))))) - (message (substitute-command-keys - "For information about the GNU project and its goals, type \\[describe-project]."))) + (buffer-menu))))))) ;;; startup.el ends here