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
125a8d70
Commit
125a8d70
authored
Apr 24, 1995
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(print-help-return-message): Check same-window-buffer-names
and same-window-regexps.
parent
be7a2e73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
lisp/help.el
lisp/help.el
+15
-5
No files found.
lisp/help.el
View file @
125a8d70
...
...
@@ -190,15 +190,25 @@ If FUNCTION is nil, applies `message' to it, thus printing it."
(
substitute-command-keys
first-message
)
""
)
(
if
first-message
" "
""
)
;; If the help buffer will go in a separate frame,
;; it's no use mentioning a command to scroll, so don't.
(
if
(
or
(
member
(
buffer-name
standard-output
)
s
ame-window
-buffer-names
)
s
pecial-display
-buffer-names
)
(
memq
t
(
mapcar
'
(
lambda
(
elt
)
(
string-match
elt
(
buffer-name
standard-output
)))
same-window-regexps
)))
special-display-regexps
)))
nil
(
if
(
or
(
member
(
buffer-name
standard-output
)
same-window-buffer-names
)
(
memq
t
(
mapcar
'
(
lambda
(
elt
)
(
string-match
elt
(
buffer-name
standard-output
)))
same-window-regexps
)))
;; Say how to scroll this window.
(
substitute-command-keys
"\\[scroll-up] to scroll the help."
)
;; Say how to scroll some other window.
(
substitute-command-keys
"\\[scroll-up] to scroll the help."
)
(
substitute-command-keys
"\\[scroll-other-window] to scroll the help."
)))))))
"\\[scroll-other-window] to scroll the help."
))))))))
(
defun
describe-key
(
key
)
"Display documentation of the function invoked by KEY. KEY is a string."
...
...
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