1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00

(describe-function-1): When printing FUNCTION's

documentation, don't assume FUNCTION is a symbol.
This commit is contained in:
Gerd Moellmann 2001-07-10 14:09:30 +00:00
parent 6b05fae3af
commit 6ce5615d62
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2001-07-10 Gerd Moellmann <gerd@gnu.org>
* help.el (describe-function-1): When printing FUNCTION's
documentation, don't assume FUNCTION is a symbol.
* startup.el (normal-top-level): Don't operate on the initial
frame if we failed to create one.

View File

@ -749,7 +749,7 @@ It can also be nil, if the definition is not associated with any file."
(if doc
(progn (terpri)
(princ doc)
(if (subrp (symbol-function function))
(if (subrp def)
(with-current-buffer standard-output
(beginning-of-line)
;; Builtins get the calling sequence at the end of