aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2022-08-14 16:53:33 +0200
committerStefan Kangas2022-08-14 23:46:33 +0200
commitd5174ed4eabf877b9f42ab2cf45738d2a4f38701 (patch)
treef468012070bee8099219b6739503e0b4e233c275
parent005585f6bd3c2add0c553d622e6c2b30d1f69b48 (diff)
downloademacs-d5174ed4eabf877b9f42ab2cf45738d2a4f38701.tar.gz
emacs-d5174ed4eabf877b9f42ab2cf45738d2a4f38701.zip
Don't use obsolete library as example in Elisp Intro
* doc/lispintro/emacs-lisp-intro.texi (Several files recursively) (Sorting, Files List): Don't use obsolete library makesum.el as example.
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi28
1 files changed, 7 insertions, 21 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index e981cbd119f..47a5a870fde 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -15132,16 +15132,16 @@ Emacs may produce different results.)
15132@end group 15132@end group
15133 15133
15134@group 15134@group
15135(lengths-list-file "./lisp/makesum.el") 15135(lengths-list-file "./lisp/hex-util.el")
15136 @result{} (85 181) 15136 @result{} (82 71)
15137@end group 15137@end group
15138 15138
15139@group 15139@group
15140 (recursive-lengths-list-many-files 15140 (recursive-lengths-list-many-files
15141 '("./lisp/macros.el" 15141 '("./lisp/macros.el"
15142 "./lisp/mail/mailalias.el" 15142 "./lisp/mail/mailalias.el"
15143 "./lisp/makesum.el")) 15143 "./lisp/hex-util.el"))
15144 @result{} (283 263 480 90 38 32 29 95 178 180 321 218 324 85 181) 15144 @result{} (283 263 480 90 38 32 29 95 178 180 321 218 324 82 71)
15145@end group 15145@end group
15146@end smallexample 15146@end smallexample
15147 15147
@@ -15233,27 +15233,13 @@ Sorting the list returned by the
15233@code{recursive-lengths-list-many-files} function is straightforward; 15233@code{recursive-lengths-list-many-files} function is straightforward;
15234it uses the @code{<} function: 15234it uses the @code{<} function:
15235 15235
15236@ignore
152372006 Oct 29
15238In GNU Emacs 22, eval
15239(progn
15240 (cd "/usr/local/share/emacs/22.0.50/")
15241 (sort
15242 (recursive-lengths-list-many-files
15243 '("./lisp/macros.el"
15244 "./lisp/mail/mailalias.el"
15245 "./lisp/makesum.el"))
15246 '<))
15247
15248@end ignore
15249
15250@smallexample 15236@smallexample
15251@group 15237@group
15252(sort 15238(sort
15253 (recursive-lengths-list-many-files 15239 (recursive-lengths-list-many-files
15254 '("./lisp/macros.el" 15240 '("./lisp/macros.el"
15255 "./lisp/mailalias.el" 15241 "./lisp/mailalias.el"
15256 "./lisp/makesum.el")) 15242 "./lisp/hex-util.el"))
15257 '<) 15243 '<)
15258@end group 15244@end group
15259@end smallexample 15245@end smallexample
@@ -15263,7 +15249,7 @@ In GNU Emacs 22, eval
15263which produces: 15249which produces:
15264 15250
15265@smallexample 15251@smallexample
15266(29 32 38 85 90 95 178 180 181 218 263 283 321 324 480) 15252(29 32 38 71 82 90 95 178 180 218 263 283 321 324 480)
15267@end smallexample 15253@end smallexample
15268 15254
15269@noindent 15255@noindent
@@ -15311,7 +15297,7 @@ as a list that looks like this (but with more elements):
15311@group 15297@group
15312("./lisp/macros.el" 15298("./lisp/macros.el"
15313 "./lisp/mail/rmail.el" 15299 "./lisp/mail/rmail.el"
15314 "./lisp/makesum.el") 15300 "./lisp/hex-util.el")
15315@end group 15301@end group
15316@end smallexample 15302@end smallexample
15317 15303