aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>1999-10-13 00:21:07 +0000
committerStefan Monnier <[email protected]>1999-10-13 00:21:07 +0000
commitce87039d4db7d3f0abcc42d17bce0ea3c619a52e (patch)
treead7fbb38867fe80e2afcc455ec64748f080ba4d4 /lisp/subr.el
parent1a7244d9c5d0dc6fddc90dff01ddc5fde08b26da (diff)
* subr.el (with-current-buffer): don't use backquotes to avoid
bootstrapping problems. loadup.el (load-path): add subdirs for bootstrapping. (docstrings): ignore errors during bootstrapping. (args): new `bootstrap' argument (for use in place of `dump').
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index c2e01916f9..66c1986f4b 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -977,9 +977,9 @@ Wildcards and redirection are handled as usual in the shell."
"Execute the forms in BODY with BUFFER as the current buffer.
The value returned is the value of the last form in BODY.
See also `with-temp-buffer'."
- `(save-current-buffer
- (set-buffer ,buffer)
- ,@body))
+ (cons 'save-current-buffer
+ (cons (list 'set-buffer buffer)
+ body)))
(defmacro with-temp-file (file &rest body)
"Create a new buffer, evaluate BODY there, and write the buffer to FILE.