diff options
| author | Richard M. Stallman | 1993-11-15 09:22:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-15 09:22:23 +0000 |
| commit | e8997612fd087f34c7fab09cbfc4c7978fd9474a (patch) | |
| tree | fb5b0ac2e922791dab585ede8293c6a6003806fa | |
| parent | 6f034b1c2223462019fafddcd6f49435c264b1d5 (diff) | |
| download | emacs-e8997612fd087f34c7fab09cbfc4c7978fd9474a.tar.gz emacs-e8997612fd087f34c7fab09cbfc4c7978fd9474a.zip | |
(command-line-1): Display a message in the echo area.
| -rw-r--r-- | lisp/startup.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 4ad6213ba6c..cb701a3d6ce 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -304,6 +304,11 @@ this variable, if non-nil; 2. `~/.emacs'; 3. `default.el'.") | |||
| 304 | (if noninteractive (kill-emacs t))) | 304 | (if noninteractive (kill-emacs t))) |
| 305 | 305 | ||
| 306 | (defun command-line-1 (command-line-args-left) | 306 | (defun command-line-1 (command-line-args-left) |
| 307 | (or noninteractive (input-pending-p) | ||
| 308 | (message (if (eq (key-binding "\C-h\C-p") 'describe-project) | ||
| 309 | "For information about the GNU Project and its goals, type C-h C-p." | ||
| 310 | (substitute-command-keys | ||
| 311 | "For information about the GNU Project and its goals, type \\[describe-project].")))) | ||
| 307 | (if (null command-line-args-left) | 312 | (if (null command-line-args-left) |
| 308 | (cond ((and (not inhibit-startup-message) (not noninteractive) | 313 | (cond ((and (not inhibit-startup-message) (not noninteractive) |
| 309 | ;; Don't clobber a non-scratch buffer if init file | 314 | ;; Don't clobber a non-scratch buffer if init file |
| @@ -427,8 +432,6 @@ Type \\[describe-distribution] for information on getting the latest version.")) | |||
| 427 | (if (> file-count 2) | 432 | (if (> file-count 2) |
| 428 | (or (get-buffer-window first-file-buffer) | 433 | (or (get-buffer-window first-file-buffer) |
| 429 | (progn (other-window 1) | 434 | (progn (other-window 1) |
| 430 | (buffer-menu)))))) | 435 | (buffer-menu))))))) |
| 431 | (message (substitute-command-keys | ||
| 432 | "For information about the GNU project and its goals, type \\[describe-project]."))) | ||
| 433 | 436 | ||
| 434 | ;;; startup.el ends here | 437 | ;;; startup.el ends here |