Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c606253c
Commit
c606253c
authored
Oct 29, 2012
by
Stefan Monnier
Browse files
* lisp/emacs-lisp/cl.el (letf): Add missing indent rules.
Fixes: debbugs:12759
parent
e07fcbdc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/emacs-lisp/cl.el
lisp/emacs-lisp/cl.el
+1
-0
No files found.
lisp/ChangeLog
View file @
c606253c
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>
...
...
lisp/emacs-lisp/cl.el
View file @
c606253c
...
...
@@ -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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment