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
4591cb90
Commit
4591cb90
authored
Feb 19, 1993
by
Richard M. Stallman
Browse files
(describe-function): Print the arglist if the function is bytecode or a list.
parent
9b2471df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
4 deletions
+18
-4
lisp/help.el
lisp/help.el
+18
-4
No files found.
lisp/help.el
View file @
4591cb90
...
...
@@ -311,10 +311,24 @@ C-w print information on absence of warranty for GNU Emacs."
;;; (nth 1 def)
))
(t "")))
(terpri))
(if (documentation function)
(princ (documentation function))
(princ "not documented"))
(terpri)
(if (documentation function)
(princ (documentation function))
(princ "not documented"))
(cond ((byte-code-function-p def)
(save-excursion
(set-buffer standard-output)
(or (eq (char-after (1- (point-max))) ?\n)
(terpri)))
(terpri)
(princ (car (append def nil))))
((eq (car-safe def) 'lambda)
(save-excursion
(set-buffer standard-output)
(or (eq (char-after (1- (point-max))) ?\n)
(terpri)))
(terpri)
(princ (nth 1 def)))))
(print-help-return-message)
;; Return the text we displayed.
(save-excursion (set-buffer standard-output) (buffer-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