--- 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 ---