diff options
author | Glenn Morris <rgm@gnu.org> | 2012-10-30 00:34:37 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-10-30 00:34:37 -0700 |
commit | 4ddedf94c8529de0c13b74c1156d89872f94c155 (patch) | |
tree | 7b07f1bba96ec9ea72696eeb15358bb110e749b3 /lisp/emacs-lisp | |
parent | ce69a8443a7adc386235cb1b5eba3189dfe89d4e (diff) | |
download | emacs-4ddedf94c8529de0c13b74c1156d89872f94c155.tar.gz emacs-4ddedf94c8529de0c13b74c1156d89872f94c155.tar.bz2 emacs-4ddedf94c8529de0c13b74c1156d89872f94c155.zip |
Doc and manual updates for cl-letf and letf
Fixes: debbugs:12760
* doc/misc/cl.texi (Modify Macros): Update for cl-letf changes.
(Obsolete Lexical Macros): Say a little more about letf/cl-letf.
* lisp/emacs-lisp/cl.el (letf): Doc fix.
* etc/NEWS: Related edit.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl.el b/lisp/emacs-lisp/cl.el index 108ad037569..d3ef83961e2 100644 --- a/lisp/emacs-lisp/cl.el +++ b/lisp/emacs-lisp/cl.el @@ -511,7 +511,9 @@ 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." +For more details, see `cl-letf'. This macro behaves like that one +in almost every respect (apart from details that relate to some +deprecated usage of `symbol-function' in place forms)." ; bug#12760 (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) |