aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2011-08-02 20:49:12 +0200
committerLars Magne Ingebrigtsen2011-08-02 20:49:12 +0200
commitce887515f236ba6ea928a4dd68afb958abcfbde6 (patch)
treefefb6a44b6467e8e7b396f18b03cf47417dfa4ea
parentfb33fa43b4e085d01a41f1533ea699531a67ef49 (diff)
downloademacs-ce887515f236ba6ea928a4dd68afb958abcfbde6.tar.gz
emacs-ce887515f236ba6ea928a4dd68afb958abcfbde6.zip
dolist doc fix.
(dolist): Mention that there's a nil block
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/emacs-lisp/cl-macs.el1
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b8e2b3bb5b4..540c49a18ad 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org> 12011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 2
3 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
4 (bug#4433).
5
3 * ido.el (ido-mode): Switch off the message if called 6 * ido.el (ido-mode): Switch off the message if called
4 non-interactively. 7 non-interactively.
5 8
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index d6b4643d6a4..6d242eda3ab 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -1233,6 +1233,7 @@ Valid clauses are:
1233 "Loop over a list. 1233 "Loop over a list.
1234Evaluate BODY with VAR bound to each `car' from LIST, in turn. 1234Evaluate BODY with VAR bound to each `car' from LIST, in turn.
1235Then evaluate RESULT to get return value, default nil. 1235Then evaluate RESULT to get return value, default nil.
1236An implicit nil block is established around the loop.
1236 1237
1237\(fn (VAR LIST [RESULT]) BODY...)" 1238\(fn (VAR LIST [RESULT]) BODY...)"
1238 (let ((temp (make-symbol "--cl-dolist-temp--"))) 1239 (let ((temp (make-symbol "--cl-dolist-temp--")))