aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorGlenn Morris2017-04-27 22:03:56 -0700
committerGlenn Morris2017-04-27 22:03:56 -0700
commitcee4128135d0d9fd6032a0134b649d5fc81370c0 (patch)
treee62e97cbe32f4ca4f9540fe528dac0394702efdf /doc/misc
parentf0daad9adc5b8fd19f60f89e96b286a78f7162b3 (diff)
parent784602b10506c50075aa9463891a47380ebea55f (diff)
downloademacs-cee4128135d0d9fd6032a0134b649d5fc81370c0.tar.gz
emacs-cee4128135d0d9fd6032a0134b649d5fc81370c0.zip
Merge from origin/emacs-25
784602b1050 (origin/emacs-25) ; Add release notice 3a34412caae (tag: emacs-25.2) Set Emacs version to 25.2 and update AU... 56a4461a48d ; Move stray item from admin/notes/repo to CONTRIBUTE 2b0d1118199 ; CONTRIBUTE: Remove stray header. f2ab09ec60d Fix a typo in indexing the user manual bc55a574235 * lisp/menu-bar.el (kill-this-buffer): Doc fix. (Bug#26466) a6d50401b4b Document 'line-pixel-height' 0c55cf43e61 * search.c (Fre_search_forward, Fre_search_backward): Imp... c7ed57eaef4 Mention that processes start in default-directory (Bug#18... 856ec9ffa1f * src/xdisp.c (vmessage, message): Clarify commentary. 849a0aaa1c9 Belated fixes for admin.el's M-x make-manuals-dist 84938d79698 default-directory: Remark that it must be a directory name 3f0d047d2eb Delete confuse statement in manual ee1bd94dd0c Improve packaging documentation fb18bff91f0 Expand manual section on quitting windows 9a737079645 Fix docstring of dabbrev-abbrev-char-regexp afe8849bac1 * doc/misc/cl.texi (Iteration Clauses): Clarify example (... ada79442c07 ;* doc/misc/info.texi (Choose menu subtopic): Improve ind... d38fd9229c0 Narrow scope of modification hook renabling in org-src fo... e0e9db4c84a ; Spelling fix # Conflicts: # README # etc/AUTHORS # etc/HISTORY # lisp/ldefs-boot.el
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/cl.texi16
-rw-r--r--doc/misc/info.texi6
2 files changed, 8 insertions, 14 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 2339d576319..33b4858a45b 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -1976,18 +1976,6 @@ This clause iterates @var{var} over all the cons cells of @var{list}.
1976 @result{} ((1 2 3 4) (2 3 4) (3 4) (4)) 1976 @result{} ((1 2 3 4) (2 3 4) (3 4) (4))
1977@end example 1977@end example
1978 1978
1979With @code{by}, there is no real reason that the @code{on} expression
1980must be a list. For example:
1981
1982@example
1983(cl-loop for x on first-animal by 'next-animal collect x)
1984@end example
1985
1986@noindent
1987where @code{(next-animal x)} takes an ``animal'' @var{x} and returns
1988the next in the (assumed) sequence of animals, or @code{nil} if
1989@var{x} was the last animal in the sequence.
1990
1991@item for @var{var} in-ref @var{list} by @var{function} 1979@item for @var{var} in-ref @var{list} by @var{function}
1992This is like a regular @code{in} clause, but @var{var} becomes 1980This is like a regular @code{in} clause, but @var{var} becomes
1993a @code{setf}-able ``reference'' onto the elements of the list 1981a @code{setf}-able ``reference'' onto the elements of the list
@@ -2252,8 +2240,8 @@ were non-@code{nil}, the loop returns @code{t}:
2252 2240
2253@example 2241@example
2254(if (cl-loop for size in size-list always (> size 10)) 2242(if (cl-loop for size in size-list always (> size 10))
2255 (some-big-sizes) 2243 (only-big-sizes)
2256 (no-big-sizes)) 2244 (some-small-sizes))
2257@end example 2245@end example
2258 2246
2259@item never @var{condition} 2247@item never @var{condition}
diff --git a/doc/misc/info.texi b/doc/misc/info.texi
index 6f2e53aa739..3db8e8e90f1 100644
--- a/doc/misc/info.texi
+++ b/doc/misc/info.texi
@@ -1108,6 +1108,7 @@ other file with @kbd{g(@var{filename})*@key{RET}}.
1108@kindex 1 @r{through} 9 @r{(Info mode)} 1108@kindex 1 @r{through} 9 @r{(Info mode)}
1109@findex Info-nth-menu-item 1109@findex Info-nth-menu-item
1110@cindex select @var{n}'th menu item 1110@cindex select @var{n}'th menu item
1111@cindex menu items, select by their numbers
1111 If you begrudge each character of type-in which your system requires, 1112 If you begrudge each character of type-in which your system requires,
1112you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, 1113you might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4},
1113@dots{}, @kbd{9}. They are short for the @kbd{m} command together 1114@dots{}, @kbd{9}. They are short for the @kbd{m} command together
@@ -1116,6 +1117,11 @@ in the current node's menu; @kbd{2} goes through the second item, etc.
1116In the stand-alone reader, @kbd{0} goes through the last menu item; 1117In the stand-alone reader, @kbd{0} goes through the last menu item;
1117this is so you need not count how many entries are there. 1118this is so you need not count how many entries are there.
1118 1119
1120@cindex 3rd menu item
1121@cindex third menu item
1122@cindex 6th menu item
1123@cindex sixth menu item
1124@cindex star @samp{*} before menu item
1119 If your display supports multiple fonts, colors or underlining, and 1125 If your display supports multiple fonts, colors or underlining, and
1120you are using Emacs's Info mode to read Info files, the third, sixth 1126you are using Emacs's Info mode to read Info files, the third, sixth
1121and ninth menu items have a @samp{*} that stands out, either in color 1127and ninth menu items have a @samp{*} that stands out, either in color