changeset 38349:7b0388aa6abf

(describe-function-1): When printing FUNCTION's documentation, don't assume FUNCTION is a symbol.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 10 Jul 2001 14:09:09 +0000
parents 63774f1993c3
children 90d17dc05172
files lisp/help.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Tue Jul 10 12:57:08 2001 +0000
+++ b/lisp/help.el	Tue Jul 10 14:09:09 2001 +0000
@@ -749,7 +749,7 @@
       (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