aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-05-17 11:15:51 -0400
committerStefan Monnier2012-05-17 11:15:51 -0400
commitac348012f4f956fa7e64535a3875a32cff91503c (patch)
tree3c962f2290d78045e750322058a747b43e737f5b
parentab414ba198cb4ad35506ae35886dfc0164f880f0 (diff)
downloademacs-ac348012f4f956fa7e64535a3875a32cff91503c.tar.gz
emacs-ac348012f4f956fa7e64535a3875a32cff91503c.zip
* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list. Fixes: debbugs:11499
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/cl-macs.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b1d9323e481..fca6543072c 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4 parens around the arg list (bug#11499).
5
12012-05-17 Juri Linkov <juri@jurta.org> 62012-05-17 Juri Linkov <juri@jurta.org>
2 7
3 * isearch.el (word-search-regexp, word-search-backward) 8 * isearch.el (word-search-regexp, word-search-backward)
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index 8050da400fe..66fafb9ba41 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -318,8 +318,9 @@ It is a list of elements of the form either:
318 (require 'help-fns) 318 (require 'help-fns)
319 (cons (help-add-fundoc-usage 319 (cons (help-add-fundoc-usage
320 (if (stringp (car hdr)) (pop hdr)) 320 (if (stringp (car hdr)) (pop hdr))
321 (format "(fn %S)" 321 (format "%S"
322 (cl--make-usage-args orig-args))) 322 (cons 'fn
323 (cl--make-usage-args orig-args))))
323 hdr))) 324 hdr)))
324 (list (nconc (list 'let* bind-lets) 325 (list (nconc (list 'let* bind-lets)
325 (nreverse bind-forms) body))))))) 326 (nreverse bind-forms) body)))))))