comparison etc/NEWS @ 27387:d0a7127b33e5

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Fri, 21 Jan 2000 05:31:13 +0000
parents f7b7fdb0f3f4
children 483c021bf376
comparison
equal deleted inserted replaced
27386:549ccf34df84 27387:d0a7127b33e5
1020 (pop LISTNAME) return first elt of LISTNAME, and remove it 1020 (pop LISTNAME) return first elt of LISTNAME, and remove it
1021 (thus altering the value of LISTNAME). 1021 (thus altering the value of LISTNAME).
1022 1022
1023 ** New dolist and dotimes macros. 1023 ** New dolist and dotimes macros.
1024 1024
1025 The dolist and dotimes macros of Common Lisp are now available. 1025 Simple versions of the dolist and dotimes macros of Common Lisp
1026 are now defined in Emacs Lisp.
1026 1027
1027 (dolist (VAR LIST [RESULT]) BODY...) 1028 (dolist (VAR LIST [RESULT]) BODY...)
1028 Execute body once for each element of LIST, 1029 Execute body once for each element of LIST,
1029 using the variable VAR to hold the current element. 1030 using the variable VAR to hold the current element.
1030 Then return the value of RESULT, or nil if RESULT is omitted. 1031 Then return the value of RESULT, or nil if RESULT is omitted.