aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-05-17 17:40:47 -0400
committerStefan Monnier2012-05-17 17:40:47 -0400
commit9abdc45d8af50112c9afe3c8ee62ad4b9cce47ed (patch)
tree184d497787af40fbd3c37800bb729daac113ee60
parentb1198e177ffc930aaf60c66f1a0b3d54db8ba3b1 (diff)
downloademacs-9abdc45d8af50112c9afe3c8ee62ad4b9cce47ed.tar.gz
emacs-9abdc45d8af50112c9afe3c8ee62ad4b9cce47ed.zip
* lisp/emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/pcase.el3
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cdb8217ed2c..043797ba7ee 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-05-17 Stefan Monnier <monnier@iro.umontreal.ca> 12012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4
3 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el. 5 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4 * emacs-lisp/cl-macs.el: Idem. 6 * emacs-lisp/cl-macs.el: Idem.
5 * emacs-lisp/cl-specs.el: Remove. 7 * emacs-lisp/cl-specs.el: Remove.
diff --git a/lisp/emacs-lisp/pcase.el b/lisp/emacs-lisp/pcase.el
index 28eaa3d3455..67b19443967 100644
--- a/lisp/emacs-lisp/pcase.el
+++ b/lisp/emacs-lisp/pcase.el
@@ -557,7 +557,8 @@ Otherwise, it defers to REST which is a list of branches of the form
557 (let ((newsym (make-symbol "x"))) 557 (let ((newsym (make-symbol "x")))
558 (push (list newsym sym) env) 558 (push (list newsym sym) env)
559 (setq sym newsym))) 559 (setq sym newsym)))
560 (if (functionp exp) `(,exp ,sym) 560 (if (functionp exp)
561 `(funcall #',exp ,sym)
561 `(,@exp ,sym))))) 562 `(,@exp ,sym)))))
562 (if (null vs) 563 (if (null vs)
563 call 564 call