Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2eb92184
Commit
2eb92184
authored
Nov 04, 2008
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(startup-echo-area-message): Display a different message in daemon
mode. Suggested by Stephen Turnbull.
parent
bd98d0e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
lisp/startup.el
lisp/startup.el
+8
-6
No files found.
lisp/startup.el
View file @
2eb92184
...
...
@@ -1985,12 +1985,14 @@ Type \\[describe-distribution] for information on "))
(
insert
"\tBuying printed manuals from the FSF\n"
))
(
defun
startup-echo-area-message
()
(
if
(
eq
(
key-binding
"\C-h\C-a"
)
'about-emacs
)
"For information about GNU Emacs and the GNU system, type C-h C-a."
(
substitute-command-keys
"
For
information
about
GNU
Emacs
and
the
GNU
system,
type
\
\\[about-emacs].
")))
(
cond
((
daemonp
)
"Starting Emacs daemon."
)
((
eq
(
key-binding
"\C-h\C-a"
)
'about-emacs
)
"For information about GNU Emacs and the GNU system, type C-h C-a."
)
(
t
(
substitute-command-keys
"
For
information
about
GNU
Emacs
and
the
GNU
system,
type
\
\\[about-emacs].
"))))
(defun display-startup-echo-area-message ()
(let ((resize-mini-windows t))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment