diff lisp/help.el @ 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 8401588c656a
children 92af2bb73b51
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