aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2018-01-28 19:27:39 +0100
committerMartin Rudalics2018-01-28 19:27:39 +0100
commit8d4500087f547e203cfba03f61dcbe641bf650de (patch)
tree029c52952933d3b6d38d20dfb093ea21e9309216
parent194ded59904b77e7073e697ebf8eac08e05a7ed3 (diff)
downloademacs-8d4500087f547e203cfba03f61dcbe641bf650de.tar.gz
emacs-8d4500087f547e203cfba03f61dcbe641bf650de.zip
Fix some issues in the emacs/lispref manuals
* doc/emacs/basic.texi (Continuation Lines): * doc/emacs/building.texi (GDB User Interface Layout): * doc/emacs/dired.texi (Misc Dired Features): * doc/emacs/maintaining.texi (Identifier Search): * doc/emacs/mark.texi (Using Region): * doc/emacs/misc.texi (Document View, DocView Conversion): * doc/emacs/modes.texi (Major Modes): * doc/emacs/mule.texi (Input Methods, Unibyte Mode): * doc/emacs/sending.texi (Mail Methods): Replace @code by @kbd. * doc/emacs/frames.texi (Text-Only Mouse): * doc/lispref/maps.texi (Standard Keymaps): Replace @kbd by @key. * doc/lispref/compile.texi (Compiler Errors): Write non-@code{nil} instead of non-nil. * doc/lispref/debugging.texi (Internals of Debugger): 'backtrace' is not a command. 'debugger-stack-frame-as-list' is an option. * doc/lispref/display.texi (Size of Displayed Text): 'window-lines-pixel-dimensions' has a last argument 'left'. * doc/lispref/display.texi (Attribute Functions): 'set-face-underline' and 'set-face-inverse-video' are commands. (Tooltips): 'tooltip-frame-parameters' is an option. (Bidirectional Display): 'bidi-paragraph-direction' is an option. * doc/lispref/frames.texi (Cursor Parameters): 'cursor-type' is an option. (Input Focus): Argument FRAME of 'x-focus-frame' is not optional. (Child Frames): Both arguments of 'frame-ancestor-p' are non-optional. 'iconify-child-frame' is an option. * doc/lispref/os.texi (Killing Emacs): 'kill-emacs-query-functions' is an option. * doc/lispref/windows.texi (Mouse Window Auto-selection): 'mouse-autoselect-window' is an option.
-rw-r--r--doc/emacs/basic.texi4
-rw-r--r--doc/emacs/building.texi4
-rw-r--r--doc/emacs/dired.texi2
-rw-r--r--doc/emacs/frames.texi2
-rw-r--r--doc/emacs/maintaining.texi2
-rw-r--r--doc/emacs/mark.texi2
-rw-r--r--doc/emacs/misc.texi6
-rw-r--r--doc/emacs/modes.texi2
-rw-r--r--doc/emacs/mule.texi27
-rw-r--r--doc/emacs/sending.texi4
-rw-r--r--doc/lispref/compile.texi2
-rw-r--r--doc/lispref/debugging.texi8
-rw-r--r--doc/lispref/display.texi18
-rw-r--r--doc/lispref/frames.texi15
-rw-r--r--doc/lispref/maps.texi2
-rw-r--r--doc/lispref/os.texi4
-rw-r--r--doc/lispref/windows.texi4
17 files changed, 54 insertions, 54 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi
index dbcb8177a01..b59ccf6ccfa 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
608@dfn{word wrapping}: instead of wrapping long lines exactly at the 608@dfn{word wrapping}: instead of wrapping long lines exactly at the
609right window edge, Emacs wraps them at the word boundaries (i.e., 609right window edge, Emacs wraps them at the word boundaries (i.e.,
610space or tab characters) nearest to the right window edge. Visual 610space or tab characters) nearest to the right window edge. Visual
611Line mode also redefines editing commands such as @code{C-a}, 611Line mode also redefines editing commands such as @kbd{C-a},
612@code{C-n}, and @code{C-k} to operate on screen lines rather than 612@kbd{C-n}, and @kbd{C-k} to operate on screen lines rather than
613logical lines. @xref{Visual Line Mode}. 613logical lines. @xref{Visual Line Mode}.
614 614
615@node Position Info 615@node Position Info
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi
index eb8d2027cf8..65669ada50e 100644
--- a/doc/emacs/building.texi
+++ b/doc/emacs/building.texi
@@ -926,8 +926,8 @@ premium.
926 926
927 You may also specify additional GDB-related buffers to display, 927 You may also specify additional GDB-related buffers to display,
928either in the same frame or a different one. Select the buffers you 928either in the same frame or a different one. Select the buffers you
929want by typing @code{M-x gdb-display-@var{buffertype}-buffer} or 929want by typing @kbd{M-x gdb-display-@var{buffertype}-buffer} or
930@code{M-x gdb-frame-@var{buffertype}-buffer}, where @var{buffertype} 930@kbd{M-x gdb-frame-@var{buffertype}-buffer}, where @var{buffertype}
931is the relevant buffer type, such as @samp{breakpoints}. You can do 931is the relevant buffer type, such as @samp{breakpoints}. You can do
932the same with the menu bar, with the @samp{GDB-Windows} and 932the same with the menu bar, with the @samp{GDB-Windows} and
933@samp{GDB-Frames} sub-menus of the @samp{GUD} menu. 933@samp{GDB-Frames} sub-menus of the @samp{GUD} menu.
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi
index b8450ce9982..e3241452c88 100644
--- a/doc/emacs/dired.texi
+++ b/doc/emacs/dired.texi
@@ -1515,7 +1515,7 @@ function @code{file-attributes}). This expression is evaluated for
1515each pair of like-named files, and files differ if the expression's 1515each pair of like-named files, and files differ if the expression's
1516value is non-@code{nil}. 1516value is non-@code{nil}.
1517 1517
1518 For instance, the sequence @code{M-x dired-compare-directories 1518 For instance, the sequence @kbd{M-x dired-compare-directories
1519@key{RET} (> mtime1 mtime2) @key{RET}} marks files newer in this 1519@key{RET} (> mtime1 mtime2) @key{RET}} marks files newer in this
1520directory than in the other, and marks files older in the other 1520directory than in the other, and marks files older in the other
1521directory than in this one. It also marks files with no counterpart, 1521directory than in this one. It also marks files with no counterpart,
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 1b63ee58de2..7a7e1fd5636 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
1381uses of the mouse---basically, only non-modified single clicks are 1381uses of the mouse---basically, only non-modified single clicks are
1382supported. Newer versions of @command{xterm} also support 1382supported. Newer versions of @command{xterm} also support
1383mouse-tracking. The normal @command{xterm} mouse functionality for 1383mouse-tracking. The normal @command{xterm} mouse functionality for
1384such clicks is still available by holding down the @kbd{SHIFT} key 1384such clicks is still available by holding down the @key{SHIFT} key
1385when you press the mouse button. Xterm Mouse mode is a global minor 1385when you press the mouse button. Xterm Mouse mode is a global minor
1386mode (@pxref{Minor Modes}). Repeating the command turns the mode off 1386mode (@pxref{Minor Modes}). Repeating the command turns the mode off
1387again. 1387again.
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi
index cb53529cea7..e61c7f90348 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
1957the names of the matching identifiers in all the places in all the 1957the names of the matching identifiers in all the places in all the
1958files where these identifiers are referenced. This is useful when you 1958files where these identifiers are referenced. This is useful when you
1959rename your identifiers as part of refactoring. This command should 1959rename your identifiers as part of refactoring. This command should
1960be invoked in the @file{*xref*} buffer generated by @code{M-?}. 1960be invoked in the @file{*xref*} buffer generated by @kbd{M-?}.
1961 1961
1962@findex tags-search 1962@findex tags-search
1963 @kbd{M-x tags-search} reads a regexp using the minibuffer, then 1963 @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 072a3bc4b11..7cb48a67e7c 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
273@vindex mark-even-if-inactive 273@vindex mark-even-if-inactive
274 Other commands always operate on the region, and have no default 274 Other commands always operate on the region, and have no default
275behavior. Such commands usually have the word @code{region} in their 275behavior. Such commands usually have the word @code{region} in their
276names, like @kbd{C-w} (@code{kill-region}) and @code{C-x C-u} 276names, like @kbd{C-w} (@code{kill-region}) and @kbd{C-x C-u}
277(@code{upcase-region}). If the mark is inactive, they operate on the 277(@code{upcase-region}). If the mark is inactive, they operate on the
278@dfn{inactive region}---that is, on the text between point and the 278@dfn{inactive region}---that is, on the text between point and the
279position at which the mark was last set (@pxref{Mark Ring}). To 279position at which the mark was last set (@pxref{Mark Ring}). To
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index fb39a78de96..aeb8560ea00 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
434also be displayed from within DocView mode by typing @kbd{C-c C-t} 434also be displayed from within DocView mode by typing @kbd{C-c C-t}
435(@code{doc-view-open-text}). 435(@code{doc-view-open-text}).
436 436
437 You can explicitly enable DocView mode with the command @code{M-x 437 You can explicitly enable DocView mode with the command @kbd{M-x
438doc-view-mode}. You can toggle DocView minor mode with @code{M-x 438doc-view-mode}. You can toggle DocView minor mode with @kbd{M-x
439doc-view-minor-mode}. 439doc-view-minor-mode}.
440 440
441 When DocView mode starts, it displays a welcome screen and begins 441 When DocView mode starts, it displays a welcome screen and begins
@@ -576,7 +576,7 @@ including its entire margins.
576 For efficiency, DocView caches the images produced by @command{gs}. 576 For efficiency, DocView caches the images produced by @command{gs}.
577The name of this directory is given by the variable 577The name of this directory is given by the variable
578@code{doc-view-cache-directory}. You can clear the cache directory by 578@code{doc-view-cache-directory}. You can clear the cache directory by
579typing @code{M-x doc-view-clear-cache}. 579typing @kbd{M-x doc-view-clear-cache}.
580 580
581@findex doc-view-kill-proc 581@findex doc-view-kill-proc
582@findex doc-view-kill-proc-and-buffer 582@findex doc-view-kill-proc-and-buffer
diff --git a/doc/emacs/modes.texi b/doc/emacs/modes.texi
index 97fe4cb7083..f0986702d5a 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
104source code comments are delimited (@pxref{Comments}). 104source code comments are delimited (@pxref{Comments}).
105 105
106 To view the documentation for the current major mode, including a 106 To view the documentation for the current major mode, including a
107list of its key bindings, type @code{C-h m} (@code{describe-mode}). 107list of its key bindings, type @kbd{C-h m} (@code{describe-mode}).
108@xref{Misc Help}. 108@xref{Misc Help}.
109 109
110@cindex mode hook 110@cindex mode hook
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index be07bcc5bb2..fd25604c700 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -477,7 +477,7 @@ display the next row or the previous row.
477 477
478 Type @kbd{C-f} and @kbd{C-b} to move forward and backward among 478 Type @kbd{C-f} and @kbd{C-b} to move forward and backward among
479the alternatives in the current row. As you do this, Emacs highlights 479the alternatives in the current row. As you do this, Emacs highlights
480the current alternative with a special color; type @code{C-@key{SPC}} 480the current alternative with a special color; type @kbd{C-@key{SPC}}
481to select the current alternative and use it as input. The 481to select the current alternative and use it as input. The
482alternatives in the row are also numbered; the number appears before 482alternatives in the row are also numbered; the number appears before
483the alternative. Typing a number selects the associated alternative 483the alternative. Typing a number selects the associated alternative
@@ -1658,24 +1658,25 @@ characters:
1658@cindex 8-bit input 1658@cindex 8-bit input
1659@item 1659@item
1660You can use an input method for the selected language environment. 1660You can use an input method for the selected language environment.
1661@xref{Input Methods}. When you use an input method in a unibyte buffer, 1661@xref{Input Methods}. When you use an input method in a unibyte
1662the non-@acronym{ASCII} character you specify with it is converted to unibyte. 1662buffer, the non-@acronym{ASCII} character you specify with it is
1663converted to unibyte.
1663 1664
1664@item 1665@item
1665If your keyboard can generate character codes 128 (decimal) and up, 1666If your keyboard can generate character codes 128 (decimal) and up,
1666representing non-@acronym{ASCII} characters, you can type those character codes 1667representing non-@acronym{ASCII} characters, you can type those
1667directly. 1668character codes directly.
1668 1669
1669On a graphical display, you should not need to do anything special to 1670On a graphical display, you should not need to do anything special to
1670use these keys; they should simply work. On a text terminal, you 1671use these keys; they should simply work. On a text terminal, you
1671should use the command @code{M-x set-keyboard-coding-system} or customize the 1672should use the command @kbd{M-x set-keyboard-coding-system} or
1672variable @code{keyboard-coding-system} to specify which coding system 1673customize the variable @code{keyboard-coding-system} to specify which
1673your keyboard uses (@pxref{Terminal Coding}). Enabling this feature 1674coding system your keyboard uses (@pxref{Terminal Coding}). Enabling
1674will probably require you to use @key{ESC} to type Meta characters; 1675this feature will probably require you to use @key{ESC} to type Meta
1675however, on a console terminal or in @code{xterm}, you can arrange for 1676characters; however, on a console terminal or in @code{xterm}, you can
1676Meta to be converted to @key{ESC} and still be able type 8-bit 1677arrange for Meta to be converted to @key{ESC} and still be able to
1677characters present directly on the keyboard or using @key{Compose} or 1678type 8-bit characters present directly on the keyboard or using
1678@key{AltGr} keys. @xref{User Input}. 1679@key{Compose} or @key{AltGr} keys. @xref{User Input}.
1679 1680
1680@cindex @code{iso-transl} library 1681@cindex @code{iso-transl} library
1681@cindex compose character 1682@cindex compose character
diff --git a/doc/emacs/sending.texi b/doc/emacs/sending.texi
index 6f6ef5f3dab..299f7896172 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
676 676
677@vindex mail-user-agent 677@vindex mail-user-agent
678 You can choose any of these @dfn{mail user agents} as your preferred 678 You can choose any of these @dfn{mail user agents} as your preferred
679method for editing and sending mail. The commands @code{C-x m}, 679method for editing and sending mail. The commands @kbd{C-x m},
680@code{C-x 4 m} and @code{C-x 5 m} use whichever agent you have 680@kbd{C-x 4 m} and @kbd{C-x 5 m} use whichever agent you have
681specified; so do various other parts of Emacs that send mail, such as 681specified; so do various other parts of Emacs that send mail, such as
682the bug reporter (@pxref{Bugs}). To specify a mail user agent, 682the bug reporter (@pxref{Bugs}). To specify a mail user agent,
683customize the variable @code{mail-user-agent}. Currently, legitimate 683customize the variable @code{mail-user-agent}. Currently, legitimate
diff --git a/doc/lispref/compile.texi b/doc/lispref/compile.texi
index 212b5a45dc6..0e39866d349 100644
--- a/doc/lispref/compile.texi
+++ b/doc/lispref/compile.texi
@@ -527,7 +527,7 @@ string for details.
527@vindex byte-compile-error-on-warn 527@vindex byte-compile-error-on-warn
528 Sometimes you may wish the byte-compiler warnings to be reported 528 Sometimes you may wish the byte-compiler warnings to be reported
529using @code{error}. If so, set @code{byte-compile-error-on-warn} to a 529using @code{error}. If so, set @code{byte-compile-error-on-warn} to a
530non-nil value. 530non-@code{nil} value.
531 531
532@node Byte-Code Objects 532@node Byte-Code Objects
533@section Byte-Code Function Objects 533@section Byte-Code Function Objects
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index fbc5238dc07..2c757dd39d5 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
619of @code{debug} (@pxref{Invoking the Debugger}). 619of @code{debug} (@pxref{Invoking the Debugger}).
620@end defvar 620@end defvar
621 621
622@deffn Command backtrace 622@defun backtrace
623@cindex run time stack 623@cindex run time stack
624@cindex call stack 624@cindex call stack
625This function prints a trace of Lisp function calls currently active. 625This function prints a trace of Lisp function calls currently active.
@@ -669,9 +669,9 @@ forms are elided.
669----------- Buffer: backtrace-output ------------ 669----------- Buffer: backtrace-output ------------
670@end group 670@end group
671@end smallexample 671@end smallexample
672@end deffn 672@end defun
673 673
674@defvar debugger-stack-frame-as-list 674@defopt debugger-stack-frame-as-list
675If this variable is non-@code{nil}, every stack frame of the backtrace 675If this variable is non-@code{nil}, every stack frame of the backtrace
676is displayed as a list. This aims at improving the backtrace 676is displayed as a list. This aims at improving the backtrace
677readability at the cost of special forms no longer being visually 677readability at the cost of special forms no longer being visually
@@ -700,7 +700,7 @@ example would look as follows:
700----------- Buffer: backtrace-output ------------ 700----------- Buffer: backtrace-output ------------
701@end group 701@end group
702@end smallexample 702@end smallexample
703@end defvar 703@end defopt
704 704
705@defvar debug-on-next-call 705@defvar debug-on-next-call
706@cindex @code{eval}, and debugging 706@cindex @code{eval}, and debugging
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 921fd104547..fbf943a08c7 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1980,7 +1980,7 @@ height of both, if present, in the return value.
1980whole and does not care about the size of individual lines. The 1980whole and does not care about the size of individual lines. The
1981following function does. 1981following function does.
1982 1982
1983@defun window-lines-pixel-dimensions &optional window first last body inverse 1983@defun window-lines-pixel-dimensions &optional window first last body inverse left
1984This function calculates the pixel dimensions of each line displayed in 1984This function calculates the pixel dimensions of each line displayed in
1985the specified @var{window}. It does so by walking @var{window}'s 1985the specified @var{window}. It does so by walking @var{window}'s
1986current glyph matrix---a matrix storing the glyph (@pxref{Glyphs}) of 1986current 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
2775@var{italic-p} is @code{nil}, and to @var{italic} otherwise. 2775@var{italic-p} is @code{nil}, and to @var{italic} otherwise.
2776@end defun 2776@end defun
2777 2777
2778@defun set-face-underline face underline &optional frame 2778@deffn Command set-face-underline face underline &optional frame
2779This sets the @code{:underline} attribute of @var{face} to 2779This sets the @code{:underline} attribute of @var{face} to
2780@var{underline}. 2780@var{underline}.
2781@end defun 2781@end deffn
2782 2782
2783@defun set-face-inverse-video face inverse-video-p &optional frame 2783@deffn Command set-face-inverse-video face inverse-video-p &optional frame
2784This sets the @code{:inverse-video} attribute of @var{face} to 2784This sets the @code{:inverse-video} attribute of @var{face} to
2785@var{inverse-video-p}. 2785@var{inverse-video-p}.
2786@end defun 2786@end deffn
2787 2787
2788@deffn Command invert-face face &optional frame 2788@deffn Command invert-face face &optional frame
2789This swaps the foreground and background colors of face @var{face}. 2789This swaps the foreground and background colors of face @var{face}.
@@ -7362,7 +7362,7 @@ have their own frame parameters (@pxref{Frame Parameters}). Unlike
7362other frames, the default parameters for tooltip frames are stored in a 7362other frames, the default parameters for tooltip frames are stored in a
7363special variable. 7363special variable.
7364 7364
7365@defvar tooltip-frame-parameters 7365@defopt tooltip-frame-parameters
7366This customizable option holds the default frame parameters used for 7366This customizable option holds the default frame parameters used for
7367displaying tooltips. Any font and color parameters are ignored, and the 7367displaying tooltips. Any font and color parameters are ignored, and the
7368corresponding attributes of the @code{tooltip} face are used instead. 7368corresponding attributes of the @code{tooltip} face are used instead.
@@ -7372,7 +7372,7 @@ absolute frame-relative coordinates where the tooltip should be shown.
7372variables described in @ref{Tooltips,,, emacs, The GNU Emacs Manual}.) 7372variables described in @ref{Tooltips,,, emacs, The GNU Emacs Manual}.)
7373Note that the @code{left} and @code{top} parameters, if present, 7373Note that the @code{left} and @code{top} parameters, if present,
7374override the values of mouse-relative offsets. 7374override the values of mouse-relative offsets.
7375@end defvar 7375@end defopt
7376 7376
7377@vindex tooltip@r{ face} 7377@vindex tooltip@r{ face}
7378The @code{tooltip} face determines the appearance of text shown in 7378The @code{tooltip} face determines the appearance of text shown in
@@ -7547,7 +7547,7 @@ for its paragraphs. For example, buffers containing program source
7547code should force all paragraphs to be displayed left-to-right. You 7547code should force all paragraphs to be displayed left-to-right. You
7548can use following variable to do this: 7548can use following variable to do this:
7549 7549
7550@defvar bidi-paragraph-direction 7550@defopt bidi-paragraph-direction
7551If the value of this buffer-local variable is the symbol 7551If the value of this buffer-local variable is the symbol
7552@code{right-to-left} or @code{left-to-right}, all paragraphs in the 7552@code{right-to-left} or @code{left-to-right}, all paragraphs in the
7553buffer are assumed to have that specified direction. Any other value 7553buffer are assumed to have that specified direction. Any other value
@@ -7558,7 +7558,7 @@ the base direction of each paragraph from its contents.
7558Modes for program source code should set this to @code{left-to-right}. 7558Modes for program source code should set this to @code{left-to-right}.
7559Prog mode does this by default, so modes derived from Prog mode do not 7559Prog mode does this by default, so modes derived from Prog mode do not
7560need to set this explicitly (@pxref{Basic Major Modes}). 7560need to set this explicitly (@pxref{Basic Major Modes}).
7561@end defvar 7561@end defopt
7562 7562
7563@defun current-bidi-paragraph-direction &optional buffer 7563@defun current-bidi-paragraph-direction &optional buffer
7564This function returns the paragraph direction at point in the named 7564This function returns the paragraph direction at point in the named
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 9c25f4da4d4..43fdd8f9d54 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
2201variables @code{cursor-type} and 2201variables @code{cursor-type} and
2202@code{cursor-in-non-selected-windows}: 2202@code{cursor-in-non-selected-windows}:
2203 2203
2204@defvar cursor-type 2204@defopt cursor-type
2205This buffer-local variable controls how the cursor looks in a selected 2205This buffer-local variable controls how the cursor looks in a selected
2206window showing the buffer. If its value is @code{t}, that means to 2206window showing the buffer. If its value is @code{t}, that means to
2207use the cursor specified by the @code{cursor-type} frame parameter. 2207use the cursor specified by the @code{cursor-type} frame parameter.
2208Otherwise, the value should be one of the cursor types listed above, 2208Otherwise, the value should be one of the cursor types listed above,
2209and it overrides the @code{cursor-type} frame parameter. 2209and it overrides the @code{cursor-type} frame parameter.
2210@end defvar 2210@end defopt
2211 2211
2212@defopt cursor-in-non-selected-windows 2212@defopt cursor-in-non-selected-windows
2213This buffer-local variable controls how the cursor looks in a window 2213This 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
2725raising it above other frames. Unfortunately, many window-systems or 2725raising it above other frames. Unfortunately, many window-systems or
2726window managers may refuse to comply. 2726window managers may refuse to comply.
2727 2727
2728@defun x-focus-frame &optional frame noactivate 2728@defun x-focus-frame frame &optional noactivate
2729This function gives @var{frame} the focus of the X server without 2729This function gives @var{frame} the focus of the X server without
2730necessarily raising it. @var{frame} @code{nil} means use the selected 2730necessarily raising it. @var{frame} @code{nil} means use the selected
2731frame. Under X, the optional argument @var{noactivate}, if 2731frame. Under X, the optional argument @var{noactivate}, if
@@ -3261,13 +3261,12 @@ exists, @var{frame} is considered a child frame of that frame.
3261This function returns @code{nil} if @var{frame} has no parent frame. 3261This function returns @code{nil} if @var{frame} has no parent frame.
3262@end defun 3262@end defun
3263 3263
3264@defun frame-ancestor-p &optional ancestor descendant 3264@defun frame-ancestor-p ancestor descendant
3265This functions returns non-@code{nil} if @var{ancestor} is an ancestor 3265This functions returns non-@code{nil} if @var{ancestor} is an ancestor
3266of @var{descendant}. @var{ancestor} is an ancestor of @var{descendant} 3266of @var{descendant}. @var{ancestor} is an ancestor of @var{descendant}
3267when it is either @var{descendant}'s parent frame or it is an ancestor 3267when it is either @var{descendant}'s parent frame or it is an ancestor
3268of @var{descendant}'s parent frame. Both, @var{ancestor} and 3268of @var{descendant}'s parent frame. Both, @var{ancestor} and
3269@var{descendant} must specify live frames and default to the selected 3269@var{descendant} must specify live frames.
3270frame.
3271@end defun 3270@end defun
3272 3271
3273Note also the function @code{window-largest-empty-rectangle} 3272Note also the function @code{window-largest-empty-rectangle}
@@ -3279,7 +3278,7 @@ window.
3279Customizing the following option can be useful to tweak the behavior of 3278Customizing the following option can be useful to tweak the behavior of
3280@code{iconify-frame} for child frames. 3279@code{iconify-frame} for child frames.
3281 3280
3282@defvar iconify-child-frame 3281@defopt iconify-child-frame
3283This option tells Emacs how to proceed when it is asked to iconify a 3282This option tells Emacs how to proceed when it is asked to iconify a
3284child frame. If it is @code{nil}, @code{iconify-frame} will do nothing 3283child frame. If it is @code{nil}, @code{iconify-frame} will do nothing
3285when invoked on a child frame. If it is @code{iconify-top-level}, Emacs 3284when 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
3291attempt may not be honored by all window managers and can even lead to 3290attempt may not be honored by all window managers and can even lead to
3292making the child frame unresponsive to user actions, the default is to 3291making the child frame unresponsive to user actions, the default is to
3293iconify the top level frame instead. 3292iconify the top level frame instead.
3294@end defvar 3293@end defopt
3295 3294
3296 3295
3297@node Mouse Tracking 3296@node Mouse Tracking
diff --git a/doc/lispref/maps.texi b/doc/lispref/maps.texi
index 275b018b15a..fc40f28ded8 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 r}.@*
51@xref{Registers,,, emacs, The GNU Emacs Manual}. 51@xref{Registers,,, emacs, The GNU Emacs Manual}.
52 52
53@item esc-map 53@item esc-map
54A full keymap for @kbd{ESC} (or @kbd{Meta}) commands. 54A full keymap for @key{ESC} (or @key{Meta}) commands.
55 55
56@item facemenu-keymap 56@item facemenu-keymap
57A sparse keymap used for the @kbd{M-o} prefix key. 57A sparse keymap used for the @kbd{M-o} prefix key.
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 08544688350..1a4e2db44a6 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -699,7 +699,7 @@ inadvertently can lose a lot of work, the
699you have buffers that need saving or subprocesses that are running. 699you have buffers that need saving or subprocesses that are running.
700It also runs the abnormal hook @code{kill-emacs-query-functions}: 700It also runs the abnormal hook @code{kill-emacs-query-functions}:
701 701
702@defvar kill-emacs-query-functions 702@defopt kill-emacs-query-functions
703When @code{save-buffers-kill-terminal} is killing Emacs, it calls the 703When @code{save-buffers-kill-terminal} is killing Emacs, it calls the
704functions in this hook, after asking the standard questions and before 704functions in this hook, after asking the standard questions and before
705calling @code{kill-emacs}. The functions are called in order of 705calling @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},
708@code{save-buffers-kill-emacs} does not kill Emacs, and does not run 708@code{save-buffers-kill-emacs} does not kill Emacs, and does not run
709the remaining functions in this hook. Calling @code{kill-emacs} 709the remaining functions in this hook. Calling @code{kill-emacs}
710directly does not run this hook. 710directly does not run this hook.
711@end defvar 711@end defopt
712 712
713@node Suspending Emacs 713@node Suspending Emacs
714@subsection Suspending Emacs 714@subsection Suspending Emacs
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 170924f6060..3691a2c04f4 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
4701selection) whenever the mouse pointer enters its window-system window 4701selection) whenever the mouse pointer enters its window-system window
4702(@pxref{Input Focus}). 4702(@pxref{Input Focus}).
4703 4703
4704@defvar mouse-autoselect-window 4704@defopt mouse-autoselect-window
4705If this variable is non-@code{nil}, Emacs will try to automatically 4705If this variable is non-@code{nil}, Emacs will try to automatically
4706select the window under the mouse pointer. The following values are 4706select the window under the mouse pointer. The following values are
4707meaningful: 4707meaningful:
@@ -4729,7 +4729,7 @@ mode line of a window conceptually should not cause its auto-selection.
4729 4729
4730Mouse auto-selection selects the minibuffer window only if it is active, 4730Mouse auto-selection selects the minibuffer window only if it is active,
4731and never deselects the active minibuffer window. 4731and never deselects the active minibuffer window.
4732@end defvar 4732@end defopt
4733 4733
4734Mouse auto-selection can be used to emulate a focus follows mouse policy 4734Mouse auto-selection can be used to emulate a focus follows mouse policy
4735for child frames (@pxref{Child Frames}) which usually are not tracked by 4735for child frames (@pxref{Child Frames}) which usually are not tracked by