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
57ec49ba
Commit
57ec49ba
authored
Jun 04, 1999
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(help-xref-interned): Fix insertion of fdoc and revamp.
parent
068c712c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
lisp/help.el
lisp/help.el
+6
-6
No files found.
lisp/help.el
View file @
57ec49ba
...
...
@@ -1095,12 +1095,12 @@ help buffer."
(
let
((
fdoc
(
describe-function
symbol
)))
(
describe-variable
symbol
)
;; We now have a help buffer on the variable. Insert the function
;; text
after
it.
(
goto-char
(
point-max
))
(
let
((
inhibit-read-only
t
))
(
insert
"\n\n"
fdoc
)
))
(
goto-char
(
point-min
))
(
help-setup-xref
(
list
#'
help-xref-interned
symbol
)
nil
))
;; text
before
it.
(
with-current-buffer
"*Help*"
(
goto-char
(
point-min
))
(
let
((
inhibit-read-only
t
))
(
insert
fdoc
"\n\n"
(
symbol-name
symbol
)
" is also a variable.\n\n"
))
(
help-setup-xref
(
list
#'
help-xref-interned
symbol
)
nil
))
))
(
defun
help-xref-mode
(
buffer
)
"Do a `describe-mode' for the specified BUFFER."
...
...
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