changeset 24402:85a2d7a71970

(describe-function-1): Don't print a whole lambda-function.
author Richard M. Stallman <rms@gnu.org>
date Fri, 26 Feb 1999 06:57:28 +0000
parents d2de3907a920
children 00fd80d4b49f
files lisp/help.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Fri Feb 26 03:49:42 1999 +0000
+++ b/lisp/help.el	Fri Feb 26 06:57:28 1999 +0000
@@ -674,7 +674,7 @@
 			 (t t))))
       (if (listp arglist)
 	  (progn
-	    (princ (cons function
+	    (princ (cons (if (symbolp function) function "anonymous")
 			 (mapcar (lambda (arg)
 				   (if (memq arg '(&optional &rest))
 				       arg