summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-04-16 05:07:35 +0000
committerRichard M. Stallman <rms@gnu.org>1994-04-16 05:07:35 +0000
commitb0d75191381b48db07fde7d6b0aec4924e3477f1 (patch)
tree3916b89f63ee61ed3713abde2ecc6ad96ce5f125 /src/eval.c
parent4703b6798bf75d4f2e99f6af5a4e1fe883946410 (diff)
downloademacs-b0d75191381b48db07fde7d6b0aec4924e3477f1.tar.gz
emacs-b0d75191381b48db07fde7d6b0aec4924e3477f1.tar.bz2
emacs-b0d75191381b48db07fde7d6b0aec4924e3477f1.zip
(Fsetq): Doc fix.
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c
index 254913727bc..c826aa240cc 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -413,8 +413,11 @@ whose values are discarded.")
DEFUN ("setq", Fsetq, Ssetq, 0, UNEVALLED, 0,
"(setq SYM VAL SYM VAL ...): set each SYM to the value of its VAL.\n\
-The SYMs are not evaluated. Thus (setq x y) sets x to the value of y.\n\
-Each SYM is set before the next VAL is computed.\n\
+The symbols SYM are variables; they are literal (not evaluated).\n\
+The values VAL are expressions; they are evaluated.\n\
+Thus, (setq x (1+ y)) sets `x' to the value of `(1+ y)'.\n\
+The second VAL is not computed until after the first SYM is set, and so on;\n\
+each VAL can use the new value of variables set earlier in the `setq'.\n\
The return value of the `setq' form is the value of the last VAL.")
(args)
Lisp_Object args;