aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorK. Handa2015-09-01 20:46:15 +0900
committerK. Handa2015-09-01 20:46:15 +0900
commit3e0e2339cd379eeba8d9bc758f2e8e574144e252 (patch)
tree9d119efed6e52e5c24dbd84836148157271799a8 /doc
parent524eeb2e5e158d98ea52fe5ebe4768c4433ba8b2 (diff)
parentff0a92f6461941902eb9e974bdd2ff9adacb7bc4 (diff)
downloademacs-3e0e2339cd379eeba8d9bc758f2e8e574144e252.tar.gz
emacs-3e0e2339cd379eeba8d9bc758f2e8e574144e252.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'doc')
-rw-r--r--doc/lispintro/emacs-lisp-intro.texi104
-rw-r--r--doc/lispref/control.texi2
-rw-r--r--doc/lispref/display.texi4
-rw-r--r--doc/lispref/functions.texi4
-rw-r--r--doc/lispref/modes.texi14
-rw-r--r--doc/lispref/os.texi2
-rw-r--r--doc/lispref/sequences.texi7
-rw-r--r--doc/lispref/strings.texi16
-rw-r--r--doc/lispref/text.texi2
-rw-r--r--doc/misc/ede.texi6
-rw-r--r--doc/misc/efaq.texi2
-rw-r--r--doc/misc/eieio.texi2
-rw-r--r--doc/misc/gnus-faq.texi8
-rw-r--r--doc/misc/gnus.texi6
-rw-r--r--doc/misc/mh-e.texi6
-rw-r--r--doc/misc/rcirc.texi2
-rw-r--r--doc/misc/ses.texi2
17 files changed, 95 insertions, 94 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi
index 4406958daa0..a27a969f91b 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -3862,10 +3862,10 @@ tiger!} will be printed; otherwise, @code{nil} will be returned.
3862@group 3862@group
3863(defun type-of-animal (characteristic) 3863(defun type-of-animal (characteristic)
3864 "Print message in echo area depending on CHARACTERISTIC. 3864 "Print message in echo area depending on CHARACTERISTIC.
3865If the CHARACTERISTIC is the symbol `fierce', 3865If the CHARACTERISTIC is the symbol fierce,
3866then warn of a tiger." 3866then warn of a tiger."
3867 (if (equal characteristic 'fierce) 3867 (if (equal characteristic 'fierce)
3868 (message "It's a tiger!"))) 3868 (message "Its a tiger!")))
3869@end group 3869@end group
3870@end smallexample 3870@end smallexample
3871 3871
@@ -3887,7 +3887,7 @@ can evaluate the following two expressions to see the results:
3887@c Following sentences rewritten to prevent overfull hbox. 3887@c Following sentences rewritten to prevent overfull hbox.
3888@noindent 3888@noindent
3889When you evaluate @code{(type-of-animal 'fierce)}, you will see the 3889When you evaluate @code{(type-of-animal 'fierce)}, you will see the
3890following message printed in the echo area: @code{"It's a tiger!"}; and 3890following message printed in the echo area: @code{"Its a tiger!"}; and
3891when you evaluate @code{(type-of-animal 'zebra)} you will see @code{nil} 3891when you evaluate @code{(type-of-animal 'zebra)} you will see @code{nil}
3892printed in the echo area. 3892printed in the echo area.
3893 3893
@@ -3918,7 +3918,7 @@ The parts of the function that match this template look like this:
3918@group 3918@group
3919(defun type-of-animal (characteristic) 3919(defun type-of-animal (characteristic)
3920 "Print message in echo area depending on CHARACTERISTIC. 3920 "Print message in echo area depending on CHARACTERISTIC.
3921If the CHARACTERISTIC is the symbol `fierce', 3921If the CHARACTERISTIC is the symbol fierce,
3922then warn of a tiger." 3922then warn of a tiger."
3923 @var{body: the} @code{if} @var{expression}) 3923 @var{body: the} @code{if} @var{expression})
3924@end group 3924@end group
@@ -3948,7 +3948,7 @@ looks like this:
3948@smallexample 3948@smallexample
3949@group 3949@group
3950(if (equal characteristic 'fierce) 3950(if (equal characteristic 'fierce)
3951 (message "It's a tiger!"))) 3951 (message "Its a tiger!")))
3952@end group 3952@end group
3953@end smallexample 3953@end smallexample
3954 3954
@@ -3971,7 +3971,7 @@ In the first exercise of @code{type-of-animal}, the argument
3971is equal to @code{fierce}, the expression, @code{(equal characteristic 3971is equal to @code{fierce}, the expression, @code{(equal characteristic
3972'fierce)}, returns a value of true. When this happens, the @code{if} 3972'fierce)}, returns a value of true. When this happens, the @code{if}
3973evaluates the second argument or then-part of the @code{if}: 3973evaluates the second argument or then-part of the @code{if}:
3974@code{(message "It's tiger!")}. 3974@code{(message "Its a tiger!")}.
3975 3975
3976On the other hand, in the second exercise of @code{type-of-animal}, the 3976On the other hand, in the second exercise of @code{type-of-animal}, the
3977argument @code{zebra} is passed to @code{type-of-animal}. @code{zebra} 3977argument @code{zebra} is passed to @code{type-of-animal}. @code{zebra}
@@ -4034,12 +4034,11 @@ arguments to the function.
4034@group 4034@group
4035(defun type-of-animal (characteristic) ; @r{Second version.} 4035(defun type-of-animal (characteristic) ; @r{Second version.}
4036 "Print message in echo area depending on CHARACTERISTIC. 4036 "Print message in echo area depending on CHARACTERISTIC.
4037If the CHARACTERISTIC is the symbol `fierce', 4037If the CHARACTERISTIC is the symbol ‘fierce’,
4038then warn of a tiger; 4038then warn of a tiger; else say it’s not fierce."
4039else say it's not fierce."
4040 (if (equal characteristic 'fierce) 4039 (if (equal characteristic 'fierce)
4041 (message "It's a tiger!") 4040 (message "Its a tiger!")
4042 (message "It's not fierce!"))) 4041 (message "Its not fierce!")))
4043@end group 4042@end group
4044@end smallexample 4043@end smallexample
4045@sp 1 4044@sp 1
@@ -4056,12 +4055,12 @@ else say it's not fierce."
4056@c Following sentence rewritten to prevent overfull hbox. 4055@c Following sentence rewritten to prevent overfull hbox.
4057@noindent 4056@noindent
4058When you evaluate @code{(type-of-animal 'fierce)}, you will see the 4057When you evaluate @code{(type-of-animal 'fierce)}, you will see the
4059following message printed in the echo area: @code{"It's a tiger!"}; but 4058following message printed in the echo area: @code{"Its a tiger!"}; but
4060when you evaluate @code{(type-of-animal 'zebra)}, you will see 4059when you evaluate @code{(type-of-animal 'zebra)}, you will see
4061@code{"It's not fierce!"}. 4060@code{"Its not fierce!"}.
4062 4061
4063(Of course, if the @var{characteristic} were @code{ferocious}, the 4062(Of course, if the @var{characteristic} were @code{ferocious}, the
4064message @code{"It's not fierce!"} would be printed; and it would be 4063message @code{"Its not fierce!"} would be printed; and it would be
4065misleading! When you write code, you need to take into account the 4064misleading! When you write code, you need to take into account the
4066possibility that some such argument will be tested by the @code{if} 4065possibility that some such argument will be tested by the @code{if}
4067and write your program accordingly.) 4066and write your program accordingly.)
@@ -4938,6 +4937,8 @@ result of this, point is placed at the beginning of the buffer and mark
4938is set at the end of the buffer. The whole buffer is, therefore, the 4937is set at the end of the buffer. The whole buffer is, therefore, the
4939region. 4938region.
4940 4939
4940@c FIXME: the definition of append-to-buffer has been changed (in
4941@c 2010-03-30).
4941@node append-to-buffer 4942@node append-to-buffer
4942@section The Definition of @code{append-to-buffer} 4943@section The Definition of @code{append-to-buffer}
4943@findex append-to-buffer 4944@findex append-to-buffer
@@ -6347,7 +6348,7 @@ With arg N, put point N/10 of the way
6347from the true beginning. 6348from the true beginning.
6348@end group 6349@end group
6349@group 6350@group
6350Don't use this in Lisp programs! 6351Dont use this in Lisp programs!
6351\(goto-char (point-min)) is faster 6352\(goto-char (point-min)) is faster
6352and does not set the mark." 6353and does not set the mark."
6353 (interactive "P") 6354 (interactive "P")
@@ -7603,8 +7604,8 @@ Here is the complete text of the version 22 implementation of the function:
7603@smallexample 7604@smallexample
7604@group 7605@group
7605(defun zap-to-char (arg char) 7606(defun zap-to-char (arg char)
7606 "Kill up to and including ARG'th occurrence of CHAR. 7607 "Kill up to and including ARGth occurrence of CHAR.
7607Case is ignored if `case-fold-search' is non-nil in the current buffer. 7608Case is ignored if case-fold-search is non-nil in the current buffer.
7608Goes backward if ARG is negative; error if CHAR not found." 7609Goes backward if ARG is negative; error if CHAR not found."
7609 (interactive "p\ncZap to char: ") 7610 (interactive "p\ncZap to char: ")
7610 (if (char-table-p translation-table-for-input) 7611 (if (char-table-p translation-table-for-input)
@@ -7862,7 +7863,7 @@ to make one entry in the kill ring.
7862 7863
7863In Lisp code, optional third arg YANK-HANDLER, if non-nil, 7864In Lisp code, optional third arg YANK-HANDLER, if non-nil,
7864specifies the yank-handler text property to be set on the killed 7865specifies the yank-handler text property to be set on the killed
7865text. See `insert-for-yank'." 7866text. See insert-for-yank."
7866 ;; Pass point first, then mark, because the order matters 7867 ;; Pass point first, then mark, because the order matters
7867 ;; when calling kill-append. 7868 ;; when calling kill-append.
7868 (interactive (list (point) (mark))) 7869 (interactive (list (point) (mark)))
@@ -8290,9 +8291,9 @@ function:
8290@smallexample 8291@smallexample
8291@group 8292@group
8292(defun copy-region-as-kill (beg end) 8293(defun copy-region-as-kill (beg end)
8293 "Save the region as if killed, but don't kill it. 8294 "Save the region as if killed, but dont kill it.
8294In Transient Mark mode, deactivate the mark. 8295In Transient Mark mode, deactivate the mark.
8295If `interprogram-cut-function' is non-nil, also save the text for a window 8296If interprogram-cut-function is non-nil, also save the text for a window
8296system cut and paste." 8297system cut and paste."
8297 (interactive "r") 8298 (interactive "r")
8298@end group 8299@end group
@@ -8591,9 +8592,9 @@ The @code{kill-new} function looks like this:
8591@group 8592@group
8592(defun kill-new (string &optional replace yank-handler) 8593(defun kill-new (string &optional replace yank-handler)
8593 "Make STRING the latest kill in the kill ring. 8594 "Make STRING the latest kill in the kill ring.
8594Set `kill-ring-yank-pointer' to point to it. 8595Set kill-ring-yank-pointer to point to it.
8595 8596
8596If `interprogram-cut-function' is non-nil, apply it to STRING. 8597If `interprogram-cut-function is non-nil, apply it to STRING.
8597Optional second argument REPLACE non-nil means that STRING will replace 8598Optional second argument REPLACE non-nil means that STRING will replace
8598the front of the kill ring, rather than being added to the list. 8599the front of the kill ring, rather than being added to the list.
8599@dots{}" 8600@dots{}"
@@ -9266,7 +9267,7 @@ documentation string. For example:
9266@smallexample 9267@smallexample
9267@group 9268@group
9268(defvar shell-command-default-error-buffer nil 9269(defvar shell-command-default-error-buffer nil
9269 "*Buffer name for `shell-command' @dots{} error output. 9270 "*Buffer name for shell-command @dots{} error output.
9270@dots{} ") 9271@dots{} ")
9271@end group 9272@end group
9272@end smallexample 9273@end smallexample
@@ -10088,10 +10089,10 @@ With argument, rotate that many kills forward (or backward, if negative)."
10088 10089
10089(defun current-kill (n &optional do-not-move) 10090(defun current-kill (n &optional do-not-move)
10090 "Rotate the yanking point by N places, and then return that kill. 10091 "Rotate the yanking point by N places, and then return that kill.
10091If N is zero, `interprogram-paste-function' is set, and calling it 10092If N is zero, interprogram-paste-function is set, and calling it
10092returns a string, then that string is added to the front of the 10093returns a string, then that string is added to the front of the
10093kill ring and returned as the latest kill. 10094kill ring and returned as the latest kill.
10094If optional arg DO-NOT-MOVE is non-nil, then don't actually move the 10095If optional arg DO-NOT-MOVE is non-nil, then dont actually move the
10095yanking point; just return the Nth kill forward." 10096yanking point; just return the Nth kill forward."
10096 (let ((interprogram-paste (and (= n 0) 10097 (let ((interprogram-paste (and (= n 0)
10097 interprogram-paste-function 10098 interprogram-paste-function
@@ -11105,7 +11106,7 @@ up the number of pebbles in a triangle.
11105@smallexample 11106@smallexample
11106@group 11107@group
11107(defun triangle-using-dotimes (number-of-rows) 11108(defun triangle-using-dotimes (number-of-rows)
11108 "Using dotimes, add up the number of pebbles in a triangle." 11109 "Using dotimes, add up the number of pebbles in a triangle."
11109(let ((total 0)) ; otherwise a total is a void variable 11110(let ((total 0)) ; otherwise a total is a void variable
11110 (dotimes (number number-of-rows total) 11111 (dotimes (number number-of-rows total)
11111 (setq total (+ total (1+ number)))))) 11112 (setq total (+ total (1+ number))))))
@@ -11950,7 +11951,7 @@ duo that uses recursion."
11950@group 11951@group
11951(defun triangle-recursive-helper (sum counter number) 11952(defun triangle-recursive-helper (sum counter number)
11952 "Return SUM, using COUNTER, through NUMBER inclusive. 11953 "Return SUM, using COUNTER, through NUMBER inclusive.
11953This is the `helper' component of a two function duo 11954This is the helper component of a two function duo
11954that uses recursion." 11955that uses recursion."
11955 (if (> counter number) 11956 (if (> counter number)
11956 sum 11957 sum
@@ -12426,10 +12427,10 @@ Here is the code for @code{forward-sentence}:
12426@smallexample 12427@smallexample
12427@group 12428@group
12428(defun forward-sentence (&optional arg) 12429(defun forward-sentence (&optional arg)
12429 "Move forward to next `sentence-end'. With argument, repeat. 12430 "Move forward to next sentence-end. With argument, repeat.
12430With negative argument, move backward repeatedly to `sentence-beginning'. 12431With negative argument, move backward repeatedly to sentence-beginning.
12431 12432
12432The variable `sentence-end' is a regular expression that matches ends of 12433The variable sentence-end is a regular expression that matches ends of
12433sentences. Also, every paragraph boundary terminates sentences as well." 12434sentences. Also, every paragraph boundary terminates sentences as well."
12434@end group 12435@end group
12435@group 12436@group
@@ -12920,6 +12921,7 @@ The next line of the @code{forward-paragraph} function begins a
12920@code{let*} expression. This is a different than @code{let}. The 12921@code{let*} expression. This is a different than @code{let}. The
12921symbol is @code{let*} not @code{let}. 12922symbol is @code{let*} not @code{let}.
12922 12923
12924@findex let*
12923The @code{let*} special form is like @code{let} except that Emacs sets 12925The @code{let*} special form is like @code{let} except that Emacs sets
12924each variable in sequence, one after another, and variables in the 12926each variable in sequence, one after another, and variables in the
12925latter part of the varlist can make use of the values to which Emacs 12927latter part of the varlist can make use of the values to which Emacs
@@ -13512,8 +13514,8 @@ For example:
13512@group 13514@group
13513(let* ((foo 7) 13515(let* ((foo 7)
13514 (bar (* 3 foo))) 13516 (bar (* 3 foo)))
13515 (message "'bar' is %d." bar)) 13517 (message "bar is %d." bar))
13516 @result{} 'bar' is 21. 13518 @result{} bar is 21.
13517@end group 13519@end group
13518@end smallexample 13520@end smallexample
13519 13521
@@ -13755,7 +13757,7 @@ All this leads to the following function definition:
13755 "Print number of words in the region. 13757 "Print number of words in the region.
13756Words are defined as at least one word-constituent 13758Words are defined as at least one word-constituent
13757character followed by at least one character that 13759character followed by at least one character that
13758is not a word-constituent. The buffer's syntax 13760is not a word-constituent. The buffers syntax
13759table determines which characters these are." 13761table determines which characters these are."
13760 (interactive "r") 13762 (interactive "r")
13761 (message "Counting words in region ... ") 13763 (message "Counting words in region ... ")
@@ -13822,7 +13824,7 @@ parenthesis and type @kbd{C-x C-e} to install it.
13822(defun @value{COUNT-WORDS} (beginning end) 13824(defun @value{COUNT-WORDS} (beginning end)
13823 "Print number of words in the region. 13825 "Print number of words in the region.
13824Words are defined as at least one word-constituent character followed 13826Words are defined as at least one word-constituent character followed
13825by at least one character that is not a word-constituent. The buffer's 13827by at least one character that is not a word-constituent. The buffers
13826syntax table determines which characters these are." 13828syntax table determines which characters these are."
13827@end group 13829@end group
13828@group 13830@group
@@ -14984,13 +14986,13 @@ beginning of the file. The function definition looks like this:
14984@smallexample 14986@smallexample
14985@group 14987@group
14986(defun lengths-list-file (filename) 14988(defun lengths-list-file (filename)
14987 "Return list of definitions' lengths within FILE. 14989 "Return list of definitions lengths within FILE.
14988The returned list is a list of numbers. 14990The returned list is a list of numbers.
14989Each number is the number of words or 14991Each number is the number of words or
14990symbols in one function definition." 14992symbols in one function definition."
14991@end group 14993@end group
14992@group 14994@group
14993 (message "Working on '%s' ... " filename) 14995 (message "Working on %s ... " filename)
14994 (save-excursion 14996 (save-excursion
14995 (let ((buffer (find-file-noselect filename)) 14997 (let ((buffer (find-file-noselect filename))
14996 (lengths-list)) 14998 (lengths-list))
@@ -15756,7 +15758,7 @@ simpler to write a list manually. Here it is:
15756 160 170 180 190 200 15758 160 170 180 190 200
15757 210 220 230 240 250 15759 210 220 230 240 250
15758 260 270 280 290 300) 15760 260 270 280 290 300)
15759 "List specifying ranges for `defuns-per-range'.") 15761 "List specifying ranges for defuns-per-range.")
15760@end group 15762@end group
15761@end smallexample 15763@end smallexample
15762 15764
@@ -17519,7 +17521,7 @@ Incidentally, @code{load-library} is an interactive interface to the
17519@group 17521@group
17520(defun load-library (library) 17522(defun load-library (library)
17521 "Load the library named LIBRARY. 17523 "Load the library named LIBRARY.
17522This is an interface to the function `load'." 17524This is an interface to the function load."
17523 (interactive 17525 (interactive
17524 (list (completing-read "Load library: " 17526 (list (completing-read "Load library: "
17525 (apply-partially 'locate-file-completion-table 17527 (apply-partially 'locate-file-completion-table
@@ -19003,12 +19005,12 @@ The @code{current-kill} function is used by @code{yank} and by
19003@group 19005@group
19004(defun current-kill (n &optional do-not-move) 19006(defun current-kill (n &optional do-not-move)
19005 "Rotate the yanking point by N places, and then return that kill. 19007 "Rotate the yanking point by N places, and then return that kill.
19006If N is zero, `interprogram-paste-function' is set, and calling it 19008If N is zero, interprogram-paste-function is set, and calling it
19007returns a string, then that string is added to the front of the 19009returns a string, then that string is added to the front of the
19008kill ring and returned as the latest kill. 19010kill ring and returned as the latest kill.
19009@end group 19011@end group
19010@group 19012@group
19011If optional arg DO-NOT-MOVE is non-nil, then don't actually move the 19013If optional arg DO-NOT-MOVE is non-nil, then dont actually move the
19012yanking point; just return the Nth kill forward." 19014yanking point; just return the Nth kill forward."
19013 (let ((interprogram-paste (and (= n 0) 19015 (let ((interprogram-paste (and (= n 0)
19014 interprogram-paste-function 19016 interprogram-paste-function
@@ -19347,8 +19349,8 @@ beginning (and mark at end). With argument N, reinsert the Nth most
19347recently killed stretch of killed text. 19349recently killed stretch of killed text.
19348 19350
19349When this command inserts killed text into the buffer, it honors 19351When this command inserts killed text into the buffer, it honors
19350`yank-excluded-properties' and `yank-handler' as described in the 19352yank-excluded-properties and yank-handler as described in the
19351doc string for `insert-for-yank-1', which see. 19353doc string for insert-for-yank-1, which see.
19352 19354
19353See also the command \\[yank-pop]." 19355See also the command \\[yank-pop]."
19354@end group 19356@end group
@@ -19922,7 +19924,7 @@ row, and the value of the width of the top line, which is calculated
19922@group 19924@group
19923(defun Y-axis-element (number full-Y-label-width) 19925(defun Y-axis-element (number full-Y-label-width)
19924 "Construct a NUMBERed label element. 19926 "Construct a NUMBERed label element.
19925A numbered element looks like this ' 5 - ', 19927A numbered element looks like this 5 - ,
19926and is padded as needed so all line up with 19928and is padded as needed so all line up with
19927the element for the largest number." 19929the element for the largest number."
19928@end group 19930@end group
@@ -20023,7 +20025,7 @@ the @code{print-Y-axis} function, which inserts the list as a column.
20023Height must be the maximum height of the graph. 20025Height must be the maximum height of the graph.
20024Full width is the width of the highest label element." 20026Full width is the width of the highest label element."
20025;; Value of height and full-Y-label-width 20027;; Value of height and full-Y-label-width
20026;; are passed by 'print-graph'. 20028;; are passed by print-graph.
20027@end group 20029@end group
20028@group 20030@group
20029 (let ((start (point))) 20031 (let ((start (point)))
@@ -21148,7 +21150,7 @@ each column."
21148@end group 21150@end group
21149@group 21151@group
21150;; Value of symbol-width and full-Y-label-width 21152;; Value of symbol-width and full-Y-label-width
21151;; are passed by 'print-graph'. 21153;; are passed by print-graph.
21152 (let* ((leading-spaces 21154 (let* ((leading-spaces
21153 (make-string full-Y-label-width ? )) 21155 (make-string full-Y-label-width ? ))
21154 ;; symbol-width @r{is provided by} graph-body-print 21156 ;; symbol-width @r{is provided by} graph-body-print
@@ -21248,7 +21250,7 @@ Here are all the graphing definitions in their final form:
21248 110 120 130 140 150 21250 110 120 130 140 150
21249 160 170 180 190 200 21251 160 170 180 190 200
21250 210 220 230 240 250) 21252 210 220 230 240 250)
21251 "List specifying ranges for `defuns-per-range'.") 21253 "List specifying ranges for defuns-per-range.")
21252@end group 21254@end group
21253 21255
21254@group 21256@group
@@ -21309,14 +21311,14 @@ as graph-symbol.")
21309@smallexample 21311@smallexample
21310@group 21312@group
21311(defun lengths-list-file (filename) 21313(defun lengths-list-file (filename)
21312 "Return list of definitions' lengths within FILE. 21314 "Return list of definitions lengths within FILE.
21313The returned list is a list of numbers. 21315The returned list is a list of numbers.
21314Each number is the number of words or 21316Each number is the number of words or
21315symbols in one function definition." 21317symbols in one function definition."
21316@end group 21318@end group
21317 21319
21318@group 21320@group
21319 (message "Working on '%s' ... " filename) 21321 (message "Working on %s ... " filename)
21320 (save-excursion 21322 (save-excursion
21321 (let ((buffer (find-file-noselect filename)) 21323 (let ((buffer (find-file-noselect filename))
21322 (lengths-list)) 21324 (lengths-list))
@@ -21446,7 +21448,7 @@ The strings are either graph-blank or graph-symbol."
21446@group 21448@group
21447(defun Y-axis-element (number full-Y-label-width) 21449(defun Y-axis-element (number full-Y-label-width)
21448 "Construct a NUMBERed label element. 21450 "Construct a NUMBERed label element.
21449A numbered element looks like this ' 5 - ', 21451A numbered element looks like this 5 - ,
21450and is padded as needed so all line up with 21452and is padded as needed so all line up with
21451the element for the largest number." 21453the element for the largest number."
21452@end group 21454@end group
@@ -21476,7 +21478,7 @@ Optionally, print according to VERTICAL-STEP."
21476@end group 21478@end group
21477@group 21479@group
21478;; Value of height and full-Y-label-width 21480;; Value of height and full-Y-label-width
21479;; are passed by 'print-graph'. 21481;; are passed by print-graph.
21480 (let ((start (point))) 21482 (let ((start (point)))
21481 (insert-rectangle 21483 (insert-rectangle
21482 (Y-axis-column height full-Y-label-width vertical-step)) 21484 (Y-axis-column height full-Y-label-width vertical-step))
@@ -21641,7 +21643,7 @@ each column."
21641@end group 21643@end group
21642@group 21644@group
21643;; Value of symbol-width and full-Y-label-width 21645;; Value of symbol-width and full-Y-label-width
21644;; are passed by 'print-graph'. 21646;; are passed by print-graph.
21645 (let* ((leading-spaces 21647 (let* ((leading-spaces
21646 (make-string full-Y-label-width ? )) 21648 (make-string full-Y-label-width ? ))
21647 ;; symbol-width @r{is provided by} graph-body-print 21649 ;; symbol-width @r{is provided by} graph-body-print
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 421f5cc530f..29d1bd588e3 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -315,7 +315,7 @@ between a few different constant values:
315@example 315@example
316(pcase (get-return-code x) 316(pcase (get-return-code x)
317 (`success (message "Done!")) 317 (`success (message "Done!"))
318 (`would-block (message "Sorry, can't do it now")) 318 (`would-block (message "Sorry, cant do it now"))
319 (`read-only (message "The shmliblick is read-only")) 319 (`read-only (message "The shmliblick is read-only"))
320 (`access-denied (message "You do not have the needed rights")) 320 (`access-denied (message "You do not have the needed rights"))
321 (code (message "Unknown return code %S" code))) 321 (code (message "Unknown return code %S" code)))
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 36404f4dff9..9d82edc9a98 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -632,13 +632,13 @@ for logging the warning. By default, it is @file{*Warnings*}.
632@end defun 632@end defun
633 633
634@defun lwarn type level message &rest args 634@defun lwarn type level message &rest args
635This function reports a warning using the value of @code{(format 635This function reports a warning using the value of @code{(format-message
636@var{message} @var{args}...)} as the message in the @file{*Warnings*} 636@var{message} @var{args}...)} as the message in the @file{*Warnings*}
637buffer. In other respects it is equivalent to @code{display-warning}. 637buffer. In other respects it is equivalent to @code{display-warning}.
638@end defun 638@end defun
639 639
640@defun warn message &rest args 640@defun warn message &rest args
641This function reports a warning using the value of @code{(format 641This function reports a warning using the value of @code{(format-message
642@var{message} @var{args}...)} as the message, @code{(emacs)} as the 642@var{message} @var{args}...)} as the message, @code{(emacs)} as the
643type, and @code{:warning} as the severity level. It exists for 643type, and @code{:warning} as the severity level. It exists for
644compatibility only; we recommend not using it, because you should 644compatibility only; we recommend not using it, because you should
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index a853d2fbab5..20eaf5dee1e 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -1561,7 +1561,7 @@ Around advice such as:
1561 1561
1562@example 1562@example
1563(defadvice foo (around foo-around) 1563(defadvice foo (around foo-around)
1564 "Ignore case in `foo'." 1564 "Ignore case in foo."
1565 (let ((case-fold-search t)) 1565 (let ((case-fold-search t))
1566 ad-do-it)) 1566 ad-do-it))
1567(ad-activate 'foo) 1567(ad-activate 'foo)
@@ -1571,7 +1571,7 @@ could translate into:
1571 1571
1572@example 1572@example
1573(defun foo--foo-around (orig-fun &rest args) 1573(defun foo--foo-around (orig-fun &rest args)
1574 "Ignore case in `foo'." 1574 "Ignore case in foo."
1575 (let ((case-fold-search t)) 1575 (let ((case-fold-search t))
1576 (apply orig-fun args))) 1576 (apply orig-fun args)))
1577(advice-add 'foo :around #'foo--foo-around) 1577(advice-add 'foo :around #'foo--foo-around)
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index a8b6bb19c5f..f00e481275f 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -1155,9 +1155,9 @@ Many other modes, such as `mail-mode', `outline-mode' and
1155 "Major mode for editing text written for humans to read. 1155 "Major mode for editing text written for humans to read.
1156In this mode, paragraphs are delimited only by blank or white lines. 1156In this mode, paragraphs are delimited only by blank or white lines.
1157You can thus get the full benefit of adaptive filling 1157You can thus get the full benefit of adaptive filling
1158 (see the variable `adaptive-fill-mode'). 1158 (see the variable adaptive-fill-mode).
1159\\@{text-mode-map@} 1159\\@{text-mode-map@}
1160Turning on Text mode runs the normal hook `text-mode-hook'." 1160Turning on Text mode runs the normal hook text-mode-hook."
1161@end group 1161@end group
1162@group 1162@group
1163 (set (make-local-variable 'text-mode-variant) t) 1163 (set (make-local-variable 'text-mode-variant) t)
@@ -1252,7 +1252,7 @@ And here is the code to set up the keymap for Lisp mode:
1252 @dots{} 1252 @dots{}
1253 map) 1253 map)
1254 "Keymap for ordinary Lisp mode. 1254 "Keymap for ordinary Lisp mode.
1255All commands in `lisp-mode-shared-map' are inherited by this map.") 1255All commands in lisp-mode-shared-map are inherited by this map.")
1256@end group 1256@end group
1257@end smallexample 1257@end smallexample
1258 1258
@@ -1268,12 +1268,12 @@ Delete converts tabs to spaces as it moves back.
1268Blank lines separate paragraphs. Semicolons start comments. 1268Blank lines separate paragraphs. Semicolons start comments.
1269 1269
1270\\@{lisp-mode-map@} 1270\\@{lisp-mode-map@}
1271Note that `run-lisp' may be used either to start an inferior Lisp job 1271Note that run-lisp may be used either to start an inferior Lisp job
1272or to switch back to an existing one. 1272or to switch back to an existing one.
1273@end group 1273@end group
1274 1274
1275@group 1275@group
1276Entry to this mode calls the value of `lisp-mode-hook' 1276Entry to this mode calls the value of lisp-mode-hook
1277if that value is non-nil." 1277if that value is non-nil."
1278 (lisp-mode-variables nil t) 1278 (lisp-mode-variables nil t)
1279 (set (make-local-variable 'find-tag-default-function) 1279 (set (make-local-variable 'find-tag-default-function)
@@ -1447,7 +1447,7 @@ will load the library that defines the mode. For example:
1447(defcustom msb-mode nil 1447(defcustom msb-mode nil
1448 "Toggle msb-mode. 1448 "Toggle msb-mode.
1449Setting this variable directly does not take effect; 1449Setting this variable directly does not take effect;
1450use either \\[customize] or the function `msb-mode'." 1450use either \\[customize] or the function msb-mode."
1451 :set 'custom-set-minor-mode 1451 :set 'custom-set-minor-mode
1452 :initialize 'custom-initialize-default 1452 :initialize 'custom-initialize-default
1453 :version "20.4" 1453 :version "20.4"
@@ -1605,7 +1605,7 @@ for this macro.
1605Interactively with no argument, this command toggles the mode. 1605Interactively with no argument, this command toggles the mode.
1606A positive prefix argument enables the mode, any other prefix 1606A positive prefix argument enables the mode, any other prefix
1607argument disables it. From Lisp, argument omitted or nil enables 1607argument disables it. From Lisp, argument omitted or nil enables
1608the mode, `toggle' toggles the state. 1608the mode, toggle toggles the state.
1609 1609
1610When Hungry mode is enabled, the control delete key 1610When Hungry mode is enabled, the control delete key
1611gobbles all preceding whitespace except the last. 1611gobbles all preceding whitespace except the last.
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 4b5a1b4a6ff..64ebb45f23b 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1927,7 +1927,7 @@ idleness. Here's an example:
1927 1927
1928@example 1928@example
1929(defvar my-resume-timer nil 1929(defvar my-resume-timer nil
1930 "Timer for `my-timer-function' to reschedule itself, or nil.") 1930 "Timer for my-timer-function to reschedule itself, or nil.")
1931 1931
1932(defun my-timer-function () 1932(defun my-timer-function ()
1933 ;; @r{If the user types a command while @code{my-resume-timer}} 1933 ;; @r{If the user types a command while @code{my-resume-timer}}
diff --git a/doc/lispref/sequences.texi b/doc/lispref/sequences.texi
index eb152283fbb..12ed881dadb 100644
--- a/doc/lispref/sequences.texi
+++ b/doc/lispref/sequences.texi
@@ -833,10 +833,9 @@ vector or string (@pxref{Iteration} for more information about the
833 833
834@defmac seq-let arguments sequence body@dots{} 834@defmac seq-let arguments sequence body@dots{}
835@cindex sequence destructuring 835@cindex sequence destructuring
836 This macro binds the variables in defined in the sequence 836 This macro binds the variables defined in @var{arguments} to the
837@var{arguments} to the elements of the sequence @var{sequence}. 837elements of the sequence @var{sequence}. @var{arguments} can itself
838@var{arguments} can itself include sequences allowing for nested 838include sequences allowing for nested destructuring.
839destructuring.
840 839
841The @var{arguments} sequence can also include the @code{&rest} marker 840The @var{arguments} sequence can also include the @code{&rest} marker
842followed by a variable name to be bound to the rest of 841followed by a variable name to be bound to the rest of
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index 08e8e877a9f..d882be485ef 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -969,12 +969,12 @@ is not truncated.
969 969
970@example 970@example
971@group 971@group
972(format "The word '%7s' has %d letters in it." 972(format "The word %7s has %d letters in it."
973 "foo" (length "foo")) 973 "foo" (length "foo"))
974 @result{} "The word ' foo' has 3 letters in it." 974 @result{} "The word foo has 3 letters in it."
975(format "The word '%7s' has %d letters in it." 975(format "The word %7s has %d letters in it."
976 "specification" (length "specification")) 976 "specification" (length "specification"))
977 @result{} "The word 'specification' has 13 letters in it." 977 @result{} "The word specification has 13 letters in it."
978@end group 978@end group
979@end example 979@end example
980 980
@@ -1013,12 +1013,12 @@ ignored.
1013(format "%06d is padded on the left with zeros" 123) 1013(format "%06d is padded on the left with zeros" 123)
1014 @result{} "000123 is padded on the left with zeros" 1014 @result{} "000123 is padded on the left with zeros"
1015 1015
1016(format "'%-6d' is padded on the right" 123) 1016(format "%-6d is padded on the right" 123)
1017 @result{} "'123 ' is padded on the right" 1017 @result{} "123 is padded on the right"
1018 1018
1019(format "The word '%-7s' actually has %d letters in it." 1019(format "The word %-7s actually has %d letters in it."
1020 "foo" (length "foo")) 1020 "foo" (length "foo"))
1021 @result{} "The word 'foo ' actually has 3 letters in it." 1021 @result{} "The word foo actually has 3 letters in it."
1022@end group 1022@end group
1023@end example 1023@end example
1024 1024
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index e63e634db04..245825ada60 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -1960,7 +1960,7 @@ Called from a program, there are three arguments:
1960@group 1960@group
1961REVERSE (non-nil means reverse order),\ 1961REVERSE (non-nil means reverse order),\
1962 BEG and END (region to sort). 1962 BEG and END (region to sort).
1963The variable `sort-fold-case' determines\ 1963The variable sort-fold-case determines\
1964 whether alphabetic case affects 1964 whether alphabetic case affects
1965the sort order." 1965the sort order."
1966@end group 1966@end group
diff --git a/doc/misc/ede.texi b/doc/misc/ede.texi
index 7a824acfed5..565abb557e2 100644
--- a/doc/misc/ede.texi
+++ b/doc/misc/ede.texi
@@ -867,14 +867,14 @@ It would look like this:
867 ) 867 )
868 868
869(defun MY-ROOT-FCN () 869(defun MY-ROOT-FCN ()
870 "Return the root fcn for `default-directory'" 870 "Return the root fcn for default-directory"
871 ;; You might be able to use 'ede-cpp-root-project-root' 871 ;; You might be able to use 'ede-cpp-root-project-root'
872 ;; and not write this at all. 872 ;; and not write this at all.
873 ) 873 )
874 874
875(defun MY-LOAD (dir) 875(defun MY-LOAD (dir)
876 "Load a project of type `cpp-root' for the directory DIR. 876 "Load a project of type cpp-root for the directory DIR.
877Return nil if there isn't one." 877Return nil if there isnt one."
878 ;; Use your preferred construction method here. 878 ;; Use your preferred construction method here.
879 (ede-cpp-root-project "NAME" :file (expand-file-name "FILE" dir) 879 (ede-cpp-root-project "NAME" :file (expand-file-name "FILE" dir)
880 :locate-fcn 'MYFCN) 880 :locate-fcn 'MYFCN)
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 3e9109d0924..75df1d41ff9 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -4336,7 +4336,7 @@ best fix I've been able to come up with:
4336 4336
4337@lisp 4337@lisp
4338(defun rmail-reply-t () 4338(defun rmail-reply-t ()
4339 "Reply only to the sender of the current message. (See rmail-reply.)" 4339 "Reply only to the sender of the current message. (See rmail-reply.)"
4340 (interactive) 4340 (interactive)
4341 (rmail-reply t)) 4341 (rmail-reply t))
4342 4342
diff --git a/doc/misc/eieio.texi b/doc/misc/eieio.texi
index fb4e1470016..7cee5c30a1b 100644
--- a/doc/misc/eieio.texi
+++ b/doc/misc/eieio.texi
@@ -1529,7 +1529,7 @@ Currently, the default superclass is defined as follows:
1529 nil 1529 nil
1530 "Default parent class for classes with no specified parent class. 1530 "Default parent class for classes with no specified parent class.
1531Its slots are automatically adopted by classes with no specified 1531Its slots are automatically adopted by classes with no specified
1532parents. This class is not stored in the `parent' slot of a class vector." 1532parents. This class is not stored in the parent slot of a class vector."
1533 :abstract t) 1533 :abstract t)
1534@end example 1534@end example
1535 1535
diff --git a/doc/misc/gnus-faq.texi b/doc/misc/gnus-faq.texi
index 76d1a5275e5..0b856c7f0a3 100644
--- a/doc/misc/gnus-faq.texi
+++ b/doc/misc/gnus-faq.texi
@@ -1671,7 +1671,7 @@ instead (works for newer versions as well):
1671 (setq message-user-fqdn fqdn) 1671 (setq message-user-fqdn fqdn)
1672 (gnus-message 1 "Redefining `message-make-fqdn'.") 1672 (gnus-message 1 "Redefining `message-make-fqdn'.")
1673 (defun message-make-fqdn () 1673 (defun message-make-fqdn ()
1674 "Return user's fully qualified domain name." 1674 "Return users fully qualified domain name."
1675 fqdn)))) 1675 fqdn))))
1676@end example 1676@end example
1677@noindent 1677@noindent
@@ -1765,9 +1765,9 @@ snippet by Frank Haun <pille3003@@fhaun.de> in
1765 1765
1766@example 1766@example
1767(defun my-archive-article (&optional n) 1767(defun my-archive-article (&optional n)
1768 "Copies one or more article(s) to a corresponding `nnml:' group, e.g., 1768 "Copies one or more article(s) to a corresponding nnml: group, e.g.,
1769`gnus.ding' goes to `nnml:1.gnus.ding'. And `nnml:List-gnus.ding' goes 1769gnus.ding goes to nnml:1.gnus.ding. And nnml:List-gnus.ding goes
1770to `nnml:1.List-gnus-ding'. 1770to nnml:1.List-gnus-ding.
1771 1771
1772Use process marks or mark a region in the summary buffer to archive 1772Use process marks or mark a region in the summary buffer to archive
1773more then one article." 1773more then one article."
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 0afc7e47c4b..23a43f4893c 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -21033,8 +21033,8 @@ function:
21033 21033
21034@lisp 21034@lisp
21035(defun gnus-decay-score (score) 21035(defun gnus-decay-score (score)
21036 "Decay SCORE according to `gnus-score-decay-constant' 21036 "Decay SCORE according to gnus-score-decay-constant
21037and `gnus-score-decay-scale'." 21037and gnus-score-decay-scale."
21038 (let ((n (- score 21038 (let ((n (- score
21039 (* (if (< score 0) -1 1) 21039 (* (if (< score 0) -1 1)
21040 (min (abs score) 21040 (min (abs score)
@@ -24080,7 +24080,7 @@ spam. And here is the nifty function:
24080 24080
24081@lisp 24081@lisp
24082(defun my-gnus-raze-spam () 24082(defun my-gnus-raze-spam ()
24083 "Submit SPAM to Vipul's Razor, then mark it as expirable." 24083 "Submit SPAM to Vipuls Razor, then mark it as expirable."
24084 (interactive) 24084 (interactive)
24085 (gnus-summary-save-in-pipe "razor-report -f -d" t) 24085 (gnus-summary-save-in-pipe "razor-report -f -d" t)
24086 (gnus-summary-mark-as-expirable 1)) 24086 (gnus-summary-mark-as-expirable 1))
diff --git a/doc/misc/mh-e.texi b/doc/misc/mh-e.texi
index 8406a80b3d7..54f759118fa 100644
--- a/doc/misc/mh-e.texi
+++ b/doc/misc/mh-e.texi
@@ -3159,13 +3159,13 @@ code to @file{~/.emacs}.
3159@smalllisp 3159@smalllisp
3160@group 3160@group
3161(defvar my-mh-screen-saved nil 3161(defvar my-mh-screen-saved nil
3162 "Set to non-@code{nil} when MH-E window configuration shown.") 3162 "Set to non-nil when MH-E window configuration shown.")
3163(defvar my-normal-screen nil "Normal window configuration.") 3163(defvar my-normal-screen nil "Normal window configuration.")
3164(defvar my-mh-screen nil "MH-E window configuration.") 3164(defvar my-mh-screen nil "MH-E window configuration.")
3165 3165
3166(defun my-mh-rmail (&optional arg) 3166(defun my-mh-rmail (&optional arg)
3167 "Toggle between MH-E and normal screen configurations. 3167 "Toggle between MH-E and normal screen configurations.
3168With non-@code{nil} or prefix argument, @i{inc} mailbox as well 3168With non-nil or prefix argument, include mailbox as well
3169when going into mail." 3169when going into mail."
3170 (interactive "P") ; @r{user callable function, P=prefix arg} 3170 (interactive "P") ; @r{user callable function, P=prefix arg}
3171 (setq my-mh-screen-saved ; @r{save state} 3171 (setq my-mh-screen-saved ; @r{save state}
@@ -3474,7 +3474,7 @@ bindings, for example:
3474@smalllisp 3474@smalllisp
3475@group 3475@group
3476(defvar my-mh-init-done nil 3476(defvar my-mh-init-done nil
3477 "Non-@code{nil} when one-time MH-E settings made.") 3477 "Non-nil when one-time MH-E settings made.")
3478 3478
3479(defun my-mh-folder-mode-hook () 3479(defun my-mh-folder-mode-hook ()
3480 "Hook to set key bindings in MH-Folder mode." 3480 "Hook to set key bindings in MH-Folder mode."
diff --git a/doc/misc/rcirc.texi b/doc/misc/rcirc.texi
index a707ba5f03e..a0d74b41be3 100644
--- a/doc/misc/rcirc.texi
+++ b/doc/misc/rcirc.texi
@@ -909,7 +909,7 @@ The real answer, therefore, is a @code{/reconnect} command:
909 "Reconnect the server process." 909 "Reconnect the server process."
910 (interactive "i") 910 (interactive "i")
911 (unless process 911 (unless process
912 (error "There's no process for this target")) 912 (error "Theres no process for this target"))
913 (let* ((server (car (process-contact process))) 913 (let* ((server (car (process-contact process)))
914 (port (process-contact process :service)) 914 (port (process-contact process :service))
915 (nick (rcirc-nick process)) 915 (nick (rcirc-nick process))
diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi
index 7017429f063..2f92e3ea836 100644
--- a/doc/misc/ses.texi
+++ b/doc/misc/ses.texi
@@ -1046,7 +1046,7 @@ the data area, such as hidden constants you want to refer to in your
1046formulas. 1046formulas.
1047 1047
1048You can override the variable @code{ses--symbolic-formulas} to be a list of 1048You can override the variable @code{ses--symbolic-formulas} to be a list of
1049symbols (as parenthesized strings) to show as completions for the ' 1049symbols (as parenthesized strings) to show as completions for the @kbd{'}
1050command. This initial completions list is used instead of the actual 1050command. This initial completions list is used instead of the actual
1051set of symbols-as-formulas in the spreadsheet. 1051set of symbols-as-formulas in the spreadsheet.
1052 1052