summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-05-30 01:19:09 +0000
committerRichard M. Stallman <rms@gnu.org>2006-05-30 01:19:09 +0000
commit39be728a88a93ae2b0a8ded953aa074fa0cf556d (patch)
tree252862308454caef449b51515bfc5e974d919289 /lisp/subr.el
parent361ed4fdba1a8b8ee47b7bd473161098942f0199 (diff)
downloademacs-39be728a88a93ae2b0a8ded953aa074fa0cf556d.tar.gz
(with-current-buffer): Doc fix.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 90f1db78de1..993dae04181 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2203,6 +2203,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again."
(defmacro with-current-buffer (buffer &rest body)
"Execute the forms in BODY with BUFFER as the current buffer.
+BUFFER can be a buffer or a buffer name.
The value returned is the value of the last form in BODY.
See also `with-temp-buffer'."
(declare (indent 1) (debug t))