* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious

parens around the arg list.

Fixes: debbugs:11499
This commit is contained in:
Stefan Monnier 2012-05-17 11:15:51 -04:00
parent ab414ba198
commit ac348012f4
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list (bug#11499).
2012-05-17 Juri Linkov <juri@jurta.org>
* isearch.el (word-search-regexp, word-search-backward)

View file

@ -318,8 +318,9 @@ It is a list of elements of the form either:
(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)))))))