bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11499: 24.0.96; function arglist regression


From: Stefan Monnier
Subject: bug#11499: 24.0.96; function arglist regression
Date: Thu, 17 May 2012 11:16:00 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

Version: 24.1

> | (registerv-make (DATA &key PRINT-FUNC JUMP-FUNC INSERT-FUNC))

I believe the patch below fixed it, thanks,


        Stefan


=== modified file 'lisp/emacs-lisp/cl-macs.el'
--- lisp/emacs-lisp/cl-macs.el  2012-05-06 15:38:30 +0000
+++ lisp/emacs-lisp/cl-macs.el  2012-05-17 15:11:30 +0000
@@ -318,8 +318,9 @@
                         (require 'help-fns)
                         (cons (help-add-fundoc-usage
                                (if (stringp (car hdr)) (pop hdr))
-                               (format "(fn %S)"
-                                       (cl--make-usage-args orig-args)))
+                               (format "%S"
+                                       (cons 'fn
+                                             (cl--make-usage-args orig-args))))
                               hdr)))
                    (list (nconc (list 'let* bind-lets)
                                 (nreverse bind-forms) body)))))))






reply via email to

[Prev in Thread] Current Thread [Next in Thread]