Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
61c6b658
Commit
61c6b658
authored
Jul 04, 1993
by
Richard M. Stallman
Browse files
(describe-prefix-bindings): New command.
(prefix-help-command): Set it.
parent
e9b2008b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
lisp/help.el
lisp/help.el
+13
-1
No files found.
lisp/help.el
View file @
61c6b658
...
...
@@ -159,7 +159,7 @@ If FUNCTION is nil, applies `message' to it, thus printing it."
If optional MINOR is non-nil (or prefix argument is given if interactive),
display documentation of active minor modes as well.
For this to work correctly for a minor mode, the mode's indicator variable
(listed in `minor-mode-alist') must also be a function whose documentation
\
(listed in `minor-mode-alist') must also be a function whose documentation
describes the minor mode."
(
interactive
)
(
with-output-to-temp-buffer
"*Help*"
...
...
@@ -209,6 +209,18 @@ describes the minor mode."
(
search-forward
"NO WARRANTY"
)
(
recenter
0
)))
(
defun
describe-prefix-bindings
()
(
interactive
)
(
let*
((
key
(
this-command-keys
))
(
prefix
(
make-vector
(
1-
(
length
key
))
nil
))
i
)
(
setq
i
0
)
(
while
(
<
i
(
length
prefix
))
(
aset
prefix
i
(
aref
key
i
))
(
setq
i
(
1+
i
)))
(
describe-bindings
prefix
)))
(
setq
prefix-help-command
'describe-prefix-bindings
)
(
defun
view-emacs-news
()
"Display info on recent changes to Emacs."
(
interactive
)
...
...
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