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

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

[debbugs-tracker] bug#11499: closed (24.0.96; function arglist regressio


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11499: closed (24.0.96; function arglist regression)
Date: Thu, 17 May 2012 15:17:02 +0000

Your message dated Thu, 17 May 2012 11:16:00 -0400
with message-id <address@hidden>
and subject line Re: bug#11499: 24.0.96; function arglist regression
has caused the debbugs.gnu.org bug report #11499,
regarding 24.0.96; function arglist regression
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11499: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11499
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.0.96; function arglist regression Date: Thu, 17 May 2012 15:57:00 +0800
Stefan,

,----[ C-h f registerv-make RET ]
| registerv-make is a compiled Lisp function in `register.el'.
| 
| (registerv-make (DATA &key PRINT-FUNC JUMP-FUNC INSERT-FUNC))
| 
[snipped 12 lines]
| [back]
`----

I remembered you fixed some bug about the arglist long ago and I just
realised there is one extra pair of () around the args. Instead it
should be:

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

Leo



--- End Message ---
--- Begin Message --- Subject: Re: 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)))))))



--- End Message ---

reply via email to

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