[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 81c2c2f 3/3: Merge from origin/emacs-26
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master 81c2c2f 3/3: Merge from origin/emacs-26 |
Date: |
Mon, 29 Jan 2018 10:55:35 -0500 (EST) |
branch: master
commit 81c2c2fa319b27550a2eb5021618c5eef3e813fd
Merge: 0d342cb 8d45000
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Merge from origin/emacs-26
8d45000 (origin/emacs-26) Fix some issues in the emacs/lispref manuals
194ded5 Fix multiple spaces in Emacs manual
57a5461 * lisp/files.el (save-some-buffers): Doc fix. (Bug#30215)
231474f Adjudicate comments to "International" chapter of Emacs manual
---
doc/emacs/basic.texi | 4 +--
doc/emacs/building.texi | 4 +--
doc/emacs/dired.texi | 2 +-
doc/emacs/frames.texi | 2 +-
doc/emacs/maintaining.texi | 2 +-
doc/emacs/mark.texi | 2 +-
doc/emacs/misc.texi | 6 ++---
doc/emacs/modes.texi | 2 +-
doc/emacs/mule.texi | 65 +++++++++++++++++++++++-----------------------
doc/emacs/search.texi | 19 +++++++-------
doc/emacs/sending.texi | 4 +--
doc/lispref/compile.texi | 2 +-
doc/lispref/debugging.texi | 8 +++---
doc/lispref/display.texi | 18 ++++++-------
doc/lispref/frames.texi | 15 +++++------
doc/lispref/maps.texi | 2 +-
doc/lispref/os.texi | 4 +--
doc/lispref/windows.texi | 4 +--
lisp/files.el | 3 ++-
19 files changed, 85 insertions(+), 83 deletions(-)
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi
index dbcb817..b59ccf6 100644
--- a/doc/emacs/basic.texi
+++ b/doc/emacs/basic.texi
@@ -608,8 +608,8 @@ newlines. In that case, you can use Visual Line mode,
which enables
@dfn{word wrapping}: instead of wrapping long lines exactly at the
right window edge, Emacs wraps them at the word boundaries (i.e.,
space or tab characters) nearest to the right window edge. Visual
-Line mode also redefines editing commands such as @code{C-a},
address@hidden, and @code{C-k} to operate on screen lines rather than
+Line mode also redefines editing commands such as @kbd{C-a},
address@hidden, and @kbd{C-k} to operate on screen lines rather than
logical lines. @xref{Visual Line Mode}.
@node Position Info
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index eb8d202..65669ad 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -926,8 +926,8 @@ premium.
You may also specify additional GDB-related buffers to display,
either in the same frame or a different one. Select the buffers you
-want by typing @code{M-x address@hidden or
address@hidden address@hidden, where @var{buffertype}
+want by typing @kbd{M-x address@hidden or
address@hidden address@hidden, where @var{buffertype}
is the relevant buffer type, such as @samp{breakpoints}. You can do
the same with the menu bar, with the @samp{GDB-Windows} and
@samp{GDB-Frames} sub-menus of the @samp{GUD} menu.
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index ff0b2ae..8305186 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -1526,7 +1526,7 @@ function @code{file-attributes}). This expression is
evaluated for
each pair of like-named files, and files differ if the expression's
value is address@hidden
- For instance, the sequence @code{M-x dired-compare-directories
+ For instance, the sequence @kbd{M-x dired-compare-directories
@key{RET} (> mtime1 mtime2) @key{RET}} marks files newer in this
directory than in the other, and marks files older in the other
directory than in this one. It also marks files with no counterpart,
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 1b63ee5..7a7e1fd 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -1381,7 +1381,7 @@ can use @kbd{M-x xterm-mouse-mode} to give Emacs control
over simple
uses of the mouse---basically, only non-modified single clicks are
supported. Newer versions of @command{xterm} also support
mouse-tracking. The normal @command{xterm} mouse functionality for
-such clicks is still available by holding down the @kbd{SHIFT} key
+such clicks is still available by holding down the @key{SHIFT} key
when you press the mouse button. Xterm Mouse mode is a global minor
mode (@pxref{Minor Modes}). Repeating the command turns the mode off
again.
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index cb53529..e61c7f9 100644
--- a/doc/emacs/maintaining.texi
+++ b/doc/emacs/maintaining.texi
@@ -1957,7 +1957,7 @@ query-replace-regexp}. It then performs the specified
replacement in
the names of the matching identifiers in all the places in all the
files where these identifiers are referenced. This is useful when you
rename your identifiers as part of refactoring. This command should
-be invoked in the @file{*xref*} buffer generated by @code{M-?}.
+be invoked in the @file{*xref*} buffer generated by @kbd{M-?}.
@findex tags-search
@kbd{M-x tags-search} reads a regexp using the minibuffer, then
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index 072a3bc..7cb48a6 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -273,7 +273,7 @@ active. If you change the value to @code{kill}, these
commands
@vindex mark-even-if-inactive
Other commands always operate on the region, and have no default
behavior. Such commands usually have the word @code{region} in their
-names, like @kbd{C-w} (@code{kill-region}) and @code{C-x C-u}
+names, like @kbd{C-w} (@code{kill-region}) and @kbd{C-x C-u}
(@code{upcase-region}). If the mark is inactive, they operate on the
@dfn{inactive region}---that is, on the text between point and the
position at which the mark was last set (@pxref{Mark Ring}). To
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index fb39a78..aeb8560 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -434,8 +434,8 @@ by typing @kbd{C-c C-c} you switch to the fallback mode.
With another
also be displayed from within DocView mode by typing @kbd{C-c C-t}
(@code{doc-view-open-text}).
- You can explicitly enable DocView mode with the command @code{M-x
-doc-view-mode}. You can toggle DocView minor mode with @code{M-x
+ You can explicitly enable DocView mode with the command @kbd{M-x
+doc-view-mode}. You can toggle DocView minor mode with @kbd{M-x
doc-view-minor-mode}.
When DocView mode starts, it displays a welcome screen and begins
@@ -576,7 +576,7 @@ including its entire margins.
For efficiency, DocView caches the images produced by @command{gs}.
The name of this directory is given by the variable
@code{doc-view-cache-directory}. You can clear the cache directory by
-typing @code{M-x doc-view-clear-cache}.
+typing @kbd{M-x doc-view-clear-cache}.
@findex doc-view-kill-proc
@findex doc-view-kill-proc-and-buffer
diff --git a/doc/emacs/modes.texi b/doc/emacs/modes.texi
index 97fe4cb..f098670 100644
--- a/doc/emacs/modes.texi
+++ b/doc/emacs/modes.texi
@@ -104,7 +104,7 @@ value for the variable @code{comment-start}, which
determines how
source code comments are delimited (@pxref{Comments}).
To view the documentation for the current major mode, including a
-list of its key bindings, type @code{C-h m} (@code{describe-mode}).
+list of its key bindings, type @kbd{C-h m} (@code{describe-mode}).
@xref{Misc Help}.
@cindex mode hook
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index bccba59..fd25604 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -124,7 +124,7 @@ can insert characters that your keyboard does not support,
using
@kbd{C-x 8 @key{RET}} (@code{insert-char}). @xref{Inserting Text}.
Shorthands are available for some common characters; for example, you
can insert a left single quotation mark @t{‘} by typing @kbd{C-x 8
-[}, or in Electric Quote mode often by simply typing @kbd{`}.
+[}, or in Electric Quote mode, usually by simply typing @kbd{`}.
@xref{Quotation Marks}. Emacs also supports
various @dfn{input methods}, typically one for each script or
language, which make it easier to type characters in the script.
@@ -379,7 +379,7 @@ least---the way Emacs decodes address@hidden characters
sent by your keyboa
If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG}
environment variables while running Emacs (by using @kbd{M-x setenv}),
you may want to invoke the @code{set-locale-environment}
-function afterwards to readjust the language environment from the new
+command afterwards to readjust the language environment from the new
locale.
@vindex locale-preferred-coding-systems
@@ -477,7 +477,7 @@ display the next row or the previous row.
Type @kbd{C-f} and @kbd{C-b} to move forward and backward among
the alternatives in the current row. As you do this, Emacs highlights
-the current alternative with a special color; type @address@hidden
+the current alternative with a special color; type @address@hidden
to select the current alternative and use it as input. The
alternatives in the row are also numbered; the number appears before
the alternative. Typing a number selects the associated alternative
@@ -508,11 +508,10 @@ entering the separate letter and accent. For example,
@kbd{o ^ ^} gives
you the two characters @samp{o^}. Another way is to type another letter
after the @kbd{o}---something that won't combine with that---and
immediately delete it. For example, you could type @kbd{o o @key{DEL}
-^} to get separate @samp{o} and @samp{^}.
-
- Another method, more general but not quite as easy to type, is to use
address@hidden C-\} between two characters to stop them from combining. This
-is the command @kbd{C-\} (@code{toggle-input-method}) used twice.
+^} to get separate @samp{o} and @samp{^}. Another method, more
+general but not quite as easy to type, is to use @kbd{C-\ C-\} between
+two characters to stop them from combining. This is the command
address@hidden (@code{toggle-input-method}) used twice.
@ifnottex
@xref{Select Input Method}.
@end ifnottex
@@ -1377,7 +1376,7 @@ hex code or thin space or an empty box instead.
(@xref{Text Display, ,
glyphless characters}, for details.)
@node Defining Fontsets
address@hidden Defining fontsets
address@hidden Defining Fontsets
@vindex standard-fontset-spec
@vindex w32-standard-fontset-spec
@@ -1408,8 +1407,8 @@ created automatically. Their names have @samp{bold}
instead of
@acronym{ASCII} font that you specify with the @samp{Font} resource or
the @samp{-fn} argument, or the default font that Emacs found when it
started. This is the @dfn{startup fontset} and its name is
address@hidden It does this by replacing the
address@hidden field with @samp{fontset}, and replacing
address@hidden Emacs generates this fontset by replacing the
address@hidden field with @samp{fontset}, and replacing the
@var{charset_encoding} field with @samp{startup}, then using the
resulting string to specify a fontset.
@@ -1455,14 +1454,15 @@ The resource value should have this form:
@end smallexample
@noindent
address@hidden should have the form of a standard X font name (see
-the previous fontset-startup example), except
-for the last two fields. They should have the form
address@hidden@var{alias}}.
+where @var{fontpattern} should have the form of a standard X font name
+(see the previous fontset-startup example), except for the last two
+fields. They should have the form @address@hidden
- The fontset has two names, one long and one short. The long name is
address@hidden The short name is @address@hidden You
-can refer to the fontset by either name.
+ Each fontset has two names, one long and one short. The long name
+is @var{fontpattern}. The short name is @address@hidden,
+the last 2 fields of the long name (e.g., @samp{fontset-startup} for
+the fontset automatically created at startup). You can refer to the
+fontset by either name.
The construct @address@hidden:@var{font}} specifies which font to
use (in this fontset) for one particular character set. Here,
@@ -1478,7 +1478,7 @@ that describe the character set. For the @acronym{ASCII}
character font,
In addition, when several consecutive fields are wildcards, Emacs
collapses them into a single wildcard. This is to prevent use of
auto-scaled fonts. Fonts made by scaling larger fonts are not usable
-for editing, and scaling a smaller font is not also useful, because it is
+for editing, and scaling a smaller font is also not useful, because it is
better to use the smaller font in its own size, which is what Emacs
does.
@@ -1547,7 +1547,7 @@ used. Some examples are:
(set-fontset-font "fontset-default" 'iso-8859-3
"Liberation Mono")
-;; Prefer a big5 font for han characters
+;; Prefer a big5 font for han characters.
(set-fontset-font "fontset-default"
'han (font-spec :registry "big5")
nil 'prepend)
@@ -1658,24 +1658,25 @@ characters:
@cindex 8-bit input
@item
You can use an input method for the selected language environment.
address@hidden Methods}. When you use an input method in a unibyte buffer,
-the address@hidden character you specify with it is converted to unibyte.
address@hidden Methods}. When you use an input method in a unibyte
+buffer, the address@hidden character you specify with it is
+converted to unibyte.
@item
If your keyboard can generate character codes 128 (decimal) and up,
-representing address@hidden characters, you can type those character codes
-directly.
+representing address@hidden characters, you can type those
+character codes directly.
On a graphical display, you should not need to do anything special to
use these keys; they should simply work. On a text terminal, you
-should use the command @code{M-x set-keyboard-coding-system} or customize the
-variable @code{keyboard-coding-system} to specify which coding system
-your keyboard uses (@pxref{Terminal Coding}). Enabling this feature
-will probably require you to use @key{ESC} to type Meta characters;
-however, on a console terminal or in @code{xterm}, you can arrange for
-Meta to be converted to @key{ESC} and still be able type 8-bit
-characters present directly on the keyboard or using @key{Compose} or
address@hidden keys. @xref{User Input}.
+should use the command @kbd{M-x set-keyboard-coding-system} or
+customize the variable @code{keyboard-coding-system} to specify which
+coding system your keyboard uses (@pxref{Terminal Coding}). Enabling
+this feature will probably require you to use @key{ESC} to type Meta
+characters; however, on a console terminal or in @code{xterm}, you can
+arrange for Meta to be converted to @key{ESC} and still be able to
+type 8-bit characters present directly on the keyboard or using
address@hidden or @key{AltGr} keys. @xref{User Input}.
@cindex @code{iso-transl} library
@cindex compose character
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index bb01f10..daaded1 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1187,15 +1187,16 @@ tailor them to your needs.
By default, search commands perform @dfn{lax space matching}:
each space, or sequence of spaces, matches any sequence of one or more
whitespace characters in the text. (Incremental regexp search has a
-separate default; see @ref{Regexp Search}.) Hence, @samp{foo bar}
-matches @samp{foo bar}, @address@hidden }bar}, @address@hidden }bar}, and
-so on (but not @samp{foobar}). More precisely, Emacs matches each
-sequence of space characters in the search string to a regular
-expression specified by the variable @code{search-whitespace-regexp}.
-For example, to make spaces match sequences of newlines as well as
-spaces, set it to @samp{"[[:space:]\n]+"}. The default value of this
-variable depends on the buffer's major mode; most major modes classify
-spaces, tabs, and formfeed characters as whitespace.
+separate default; see @ref{Regexp Search}.) Hence, @address@hidden bar}}
+matches @address@hidden bar}}, @address@hidden@ @ bar}},
address@hidden@samp{foo@ @ @ bar}}, and so on (but not @samp{foobar}). More
+precisely, Emacs matches each sequence of space characters in the
+search string to a regular expression specified by the variable
address@hidden For example, to make spaces match
+sequences of newlines as well as spaces, set it to
address@hidden"[[:space:]\n]+"}. The default value of this variable depends
+on the buffer's major mode; most major modes classify spaces, tabs,
+and formfeed characters as whitespace.
If you want whitespace characters to match exactly, you can turn lax
space matching off by typing @kbd{M-s @key{SPC}}
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi
index 6f6ef5f..299f789 100644
--- a/doc/emacs/sending.texi
+++ b/doc/emacs/sending.texi
@@ -676,8 +676,8 @@ such as MIME support. Another available mode is MH-E
@vindex mail-user-agent
You can choose any of these @dfn{mail user agents} as your preferred
-method for editing and sending mail. The commands @code{C-x m},
address@hidden 4 m} and @code{C-x 5 m} use whichever agent you have
+method for editing and sending mail. The commands @kbd{C-x m},
address@hidden 4 m} and @kbd{C-x 5 m} use whichever agent you have
specified; so do various other parts of Emacs that send mail, such as
the bug reporter (@pxref{Bugs}). To specify a mail user agent,
customize the variable @code{mail-user-agent}. Currently, legitimate
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi
index 212b5a4..0e39866 100644
--- a/doc/lispref/compile.texi
+++ b/doc/lispref/compile.texi
@@ -527,7 +527,7 @@ string for details.
@vindex byte-compile-error-on-warn
Sometimes you may wish the byte-compiler warnings to be reported
using @code{error}. If so, set @code{byte-compile-error-on-warn} to a
-non-nil value.
address@hidden value.
@node Byte-Code Objects
@section Byte-Code Function Objects
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index 307bba6..e69f95b 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -619,7 +619,7 @@ was called. The convention for arguments is detailed in
the description
of @code{debug} (@pxref{Invoking the Debugger}).
@end defvar
address@hidden Command backtrace
address@hidden backtrace
@cindex run time stack
@cindex call stack
This function prints a trace of Lisp function calls currently active.
@@ -669,9 +669,9 @@ forms are elided.
----------- Buffer: backtrace-output ------------
@end group
@end smallexample
address@hidden deffn
address@hidden defun
address@hidden debugger-stack-frame-as-list
address@hidden debugger-stack-frame-as-list
If this variable is address@hidden, every stack frame of the backtrace
is displayed as a list. This aims at improving the backtrace
readability at the cost of special forms no longer being visually
@@ -700,7 +700,7 @@ example would look as follows:
----------- Buffer: backtrace-output ------------
@end group
@end smallexample
address@hidden defvar
address@hidden defopt
@defvar debug-on-next-call
@cindex @code{eval}, and debugging
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 921fd10..fbf943a 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1980,7 +1980,7 @@ height of both, if present, in the return value.
whole and does not care about the size of individual lines. The
following function does.
address@hidden window-lines-pixel-dimensions &optional window first last body
inverse
address@hidden window-lines-pixel-dimensions &optional window first last body
inverse left
This function calculates the pixel dimensions of each line displayed in
the specified @var{window}. It does so by walking @var{window}'s
current glyph matrix---a matrix storing the glyph (@pxref{Glyphs}) of
@@ -2775,15 +2775,15 @@ This sets the @code{:slant} attribute of @var{face} to
@var{normal} if
@var{italic-p} is @code{nil}, and to @var{italic} otherwise.
@end defun
address@hidden set-face-underline face underline &optional frame
address@hidden Command set-face-underline face underline &optional frame
This sets the @code{:underline} attribute of @var{face} to
@var{underline}.
address@hidden defun
address@hidden deffn
address@hidden set-face-inverse-video face inverse-video-p &optional frame
address@hidden Command set-face-inverse-video face inverse-video-p &optional
frame
This sets the @code{:inverse-video} attribute of @var{face} to
@var{inverse-video-p}.
address@hidden defun
address@hidden deffn
@deffn Command invert-face face &optional frame
This swaps the foreground and background colors of face @var{face}.
@@ -7362,7 +7362,7 @@ have their own frame parameters (@pxref{Frame
Parameters}). Unlike
other frames, the default parameters for tooltip frames are stored in a
special variable.
address@hidden tooltip-frame-parameters
address@hidden tooltip-frame-parameters
This customizable option holds the default frame parameters used for
displaying tooltips. Any font and color parameters are ignored, and the
corresponding attributes of the @code{tooltip} face are used instead.
@@ -7372,7 +7372,7 @@ absolute frame-relative coordinates where the tooltip
should be shown.
variables described in @ref{Tooltips,,, emacs, The GNU Emacs Manual}.)
Note that the @code{left} and @code{top} parameters, if present,
override the values of mouse-relative offsets.
address@hidden defvar
address@hidden defopt
@vindex address@hidden face}
The @code{tooltip} face determines the appearance of text shown in
@@ -7547,7 +7547,7 @@ for its paragraphs. For example, buffers containing
program source
code should force all paragraphs to be displayed left-to-right. You
can use following variable to do this:
address@hidden bidi-paragraph-direction
address@hidden bidi-paragraph-direction
If the value of this buffer-local variable is the symbol
@code{right-to-left} or @code{left-to-right}, all paragraphs in the
buffer are assumed to have that specified direction. Any other value
@@ -7558,7 +7558,7 @@ the base direction of each paragraph from its contents.
Modes for program source code should set this to @code{left-to-right}.
Prog mode does this by default, so modes derived from Prog mode do not
need to set this explicitly (@pxref{Basic Major Modes}).
address@hidden defvar
address@hidden defopt
@defun current-bidi-paragraph-direction &optional buffer
This function returns the paragraph direction at point in the named
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 9c25f4d..43fdd8f 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -2201,13 +2201,13 @@ The @code{cursor-type} frame parameter may be
overridden by the
variables @code{cursor-type} and
@code{cursor-in-non-selected-windows}:
address@hidden cursor-type
address@hidden cursor-type
This buffer-local variable controls how the cursor looks in a selected
window showing the buffer. If its value is @code{t}, that means to
use the cursor specified by the @code{cursor-type} frame parameter.
Otherwise, the value should be one of the cursor types listed above,
and it overrides the @code{cursor-type} frame parameter.
address@hidden defvar
address@hidden defopt
@defopt cursor-in-non-selected-windows
This buffer-local variable controls how the cursor looks in a window
@@ -2725,7 +2725,7 @@ Ideally, the function described next should focus a frame
without also
raising it above other frames. Unfortunately, many window-systems or
window managers may refuse to comply.
address@hidden x-focus-frame &optional frame noactivate
address@hidden x-focus-frame frame &optional noactivate
This function gives @var{frame} the focus of the X server without
necessarily raising it. @var{frame} @code{nil} means use the selected
frame. Under X, the optional argument @var{noactivate}, if
@@ -3261,13 +3261,12 @@ exists, @var{frame} is considered a child frame of that
frame.
This function returns @code{nil} if @var{frame} has no parent frame.
@end defun
address@hidden frame-ancestor-p &optional ancestor descendant
address@hidden frame-ancestor-p ancestor descendant
This functions returns address@hidden if @var{ancestor} is an ancestor
of @var{descendant}. @var{ancestor} is an ancestor of @var{descendant}
when it is either @var{descendant}'s parent frame or it is an ancestor
of @var{descendant}'s parent frame. Both, @var{ancestor} and
address@hidden must specify live frames and default to the selected
-frame.
address@hidden must specify live frames.
@end defun
Note also the function @code{window-largest-empty-rectangle}
@@ -3279,7 +3278,7 @@ window.
Customizing the following option can be useful to tweak the behavior of
@code{iconify-frame} for child frames.
address@hidden iconify-child-frame
address@hidden iconify-child-frame
This option tells Emacs how to proceed when it is asked to iconify a
child frame. If it is @code{nil}, @code{iconify-frame} will do nothing
when invoked on a child frame. If it is @code{iconify-top-level}, Emacs
@@ -3291,7 +3290,7 @@ Any other value means to try iconifying the child frame.
Since such an
attempt may not be honored by all window managers and can even lead to
making the child frame unresponsive to user actions, the default is to
iconify the top level frame instead.
address@hidden defvar
address@hidden defopt
@node Mouse Tracking
diff --git a/doc/lispref/maps.texi b/doc/lispref/maps.texi
index 275b018..fc40f28 100644
--- a/doc/lispref/maps.texi
+++ b/doc/lispref/maps.texi
@@ -51,7 +51,7 @@ A sparse keymap for subcommands of the prefix @kbd{C-x
address@hidden
@xref{Registers,,, emacs, The GNU Emacs Manual}.
@item esc-map
-A full keymap for @kbd{ESC} (or @kbd{Meta}) commands.
+A full keymap for @key{ESC} (or @key{Meta}) commands.
@item facemenu-keymap
A sparse keymap used for the @kbd{M-o} prefix key.
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 0854468..1a4e2db 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -699,7 +699,7 @@ inadvertently can lose a lot of work, the
you have buffers that need saving or subprocesses that are running.
It also runs the abnormal hook @code{kill-emacs-query-functions}:
address@hidden kill-emacs-query-functions
address@hidden kill-emacs-query-functions
When @code{save-buffers-kill-terminal} is killing Emacs, it calls the
functions in this hook, after asking the standard questions and before
calling @code{kill-emacs}. The functions are called in order of
@@ -708,7 +708,7 @@ confirmation from the user. If any of them returns
@code{nil},
@code{save-buffers-kill-emacs} does not kill Emacs, and does not run
the remaining functions in this hook. Calling @code{kill-emacs}
directly does not run this hook.
address@hidden defvar
address@hidden defopt
@node Suspending Emacs
@subsection Suspending Emacs
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 170924f..3691a2c 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -4701,7 +4701,7 @@ managers that give focus to a frame (and thus trigger its
subsequent
selection) whenever the mouse pointer enters its window-system window
(@pxref{Input Focus}).
address@hidden mouse-autoselect-window
address@hidden mouse-autoselect-window
If this variable is address@hidden, Emacs will try to automatically
select the window under the mouse pointer. The following values are
meaningful:
@@ -4729,7 +4729,7 @@ mode line of a window conceptually should not cause its
auto-selection.
Mouse auto-selection selects the minibuffer window only if it is active,
and never deselects the active minibuffer window.
address@hidden defvar
address@hidden defopt
Mouse auto-selection can be used to emulate a focus follows mouse policy
for child frames (@pxref{Child Frames}) which usually are not tracked by
diff --git a/lisp/files.el b/lisp/files.el
index 00622cf..91aa95d 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -5220,7 +5220,8 @@ view the differences using `diff-buffer-with-file'.
This command first saves any buffers where `buffer-save-without-query' is
non-nil, without asking.
-Optional argument (the prefix) non-nil means save all with no questions.
+Optional argument ARG (interactively, prefix argument) non-nil means save
+all with no questions.
Optional second argument PRED determines which buffers are considered:
If PRED is nil, all the file-visiting buffers are considered.
If PRED is t, then certain non-file buffers will also be considered.