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
0ab0e672
Commit
0ab0e672
authored
May 22, 1999
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(describe-function-1): Extra arg, interactive-p.
(describe-key, describe-function): Use it.
parent
ccbb360e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lisp/help.el
lisp/help.el
+4
-4
No files found.
lisp/help.el
View file @
0ab0e672
...
...
@@ -327,7 +327,7 @@ If FUNCTION is nil, applies `message' to it, thus printing it."
(
princ
" runs the command "
)
(
prin1
defn
)
(
princ
"\n which is "
)
(
describe-function-1
defn
nil
)
(
describe-function-1
defn
nil
(
interactive-p
)
)
(
print-help-return-message
)))))))
(
defun
describe-mode
()
...
...
@@ -591,7 +591,7 @@ It can also be nil, if the definition is not associated with any file."
;; Use " is " instead of a colon so that
;; it is easier to get out the function name using forward-sexp.
(
princ
" is "
)
(
describe-function-1
function
nil
)
(
describe-function-1
function
nil
(
interactive-p
)
)
(
print-help-return-message
)
(
save-excursion
(
set-buffer
standard-output
)
...
...
@@ -599,7 +599,7 @@ It can also be nil, if the definition is not associated with any file."
(
buffer-string
)))
(
message
"You didn't specify a function"
)))
(
defun
describe-function-1
(
function
parens
)
(
defun
describe-function-1
(
function
parens
interactive-p
)
(
let*
((
def
(
if
(
symbolp
function
)
(
symbol-function
function
)
function
))
...
...
@@ -685,7 +685,7 @@ It can also be nil, if the definition is not associated with any file."
(
if
doc
(
progn
(
terpri
)
(
princ
doc
)
(
help-setup-xref
(
list
#'
describe-function
function
)
(
interactive-p
))
)
(
help-setup-xref
(
list
#'
describe-function
function
)
interactive-p
))
(
princ
"not documented"
)))))
(
defun
variable-at-point
()
...
...
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