* lisp/emacs-lisp/cl.el (letf): Add missing indent rules.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 29 Oct 2012 13:50:05 +0000 (09:50 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 29 Oct 2012 13:50:05 +0000 (09:50 -0400)
Fixes: debbugs:12759

lisp/ChangeLog
lisp/emacs-lisp/cl.el

index e81a614..387a8b0 100644 (file)
@@ -1,5 +1,7 @@
 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
+
        * files.el (find-alternate-file): Only ask one question (bug#12487).
 
 2012-10-29  Chong Yidong  <cyd@gnu.org>
index a558e50..108ad03 100644 (file)
@@ -512,6 +512,7 @@ rather than relying on `lexical-binding'."
 (defmacro letf (bindings &rest body)
   "Dynamically scoped let-style bindings for places.
 Like `cl-letf', but with some extra backward compatibility."
+  (declare (indent 1) (debug cl-letf))
   ;; Like cl-letf, but with special handling of symbol-function.
   `(cl-letf ,(mapcar (lambda (x) (if (eq (car-safe (car x)) 'symbol-function)
                                 `((cl--symbol-function ,@(cdar x)) ,@(cdr x))