aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2012-10-29 09:50:05 -0400
committerStefan Monnier2012-10-29 09:50:05 -0400
commitc606253cb5849ad04282b2f116e79963abdcea9d (patch)
tree4e1ad5b9a973c34a5c2bd3b04f3c8f5a0861ad6b
parente07fcbdc32093063079b21f5675e6109f143d36d (diff)
downloademacs-c606253cb5849ad04282b2f116e79963abdcea9d.tar.gz
emacs-c606253cb5849ad04282b2f116e79963abdcea9d.zip
* lisp/emacs-lisp/cl.el (letf): Add missing indent rules.
Fixes: debbugs:12759
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/cl.el1
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e81a6146a22..387a8b0e619 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-10-29 Stefan Monnier <monnier@iro.umontreal.ca> 12012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4
3 * files.el (find-alternate-file): Only ask one question (bug#12487). 5 * files.el (find-alternate-file): Only ask one question (bug#12487).
4 6
52012-10-29 Chong Yidong <cyd@gnu.org> 72012-10-29 Chong Yidong <cyd@gnu.org>
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el
index a558e505e66..108ad037569 100644
--- a/lisp/emacs-lisp/cl.el
+++ b/lisp/emacs-lisp/cl.el
@@ -512,6 +512,7 @@ rather than relying on `lexical-binding'."
512(defmacro letf (bindings &rest body) 512(defmacro letf (bindings &rest body)
513 "Dynamically scoped let-style bindings for places. 513 "Dynamically scoped let-style bindings for places.
514Like `cl-letf', but with some extra backward compatibility." 514Like `cl-letf', but with some extra backward compatibility."
515 (declare (indent 1) (debug cl-letf))
515 ;; Like cl-letf, but with special handling of symbol-function. 516 ;; Like cl-letf, but with special handling of symbol-function.
516 `(cl-letf ,(mapcar (lambda (x) (if (eq (car-safe (car x)) 'symbol-function) 517 `(cl-letf ,(mapcar (lambda (x) (if (eq (car-safe (car x)) 'symbol-function)
517 `((cl--symbol-function ,@(cdar x)) ,@(cdr x)) 518 `((cl--symbol-function ,@(cdar x)) ,@(cdr x))