aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-01-31 07:50:23 -0800
committerGlenn Morris2018-01-31 07:50:23 -0800
commit4dbc1ef5e6cf55426d023be563ff93d74b675218 (patch)
tree1fabaf73b948f9b1d8d28d63e83571b74ad88ce0
parent84d066a73fc4191a675c87c81ec1a4f531375e95 (diff)
parent22922c7c67efdcb42ba4bf35b0ea507cca08f559 (diff)
downloademacs-4dbc1ef5e6cf55426d023be563ff93d74b675218.tar.gz
emacs-4dbc1ef5e6cf55426d023be563ff93d74b675218.zip
Merge from origin/emacs-26
22922c7 (origin/emacs-26) * doc/emacs/entering.texi (Entering Emacs):... 59657c4 Document 'window-at-side-p' in the Elisp manual 2b35ed0 Document external-debugging-output in the Elisp Manual (Bug#2... db6564c Fix scroll-margin docstring (Bug#13791) 732d1b9 Clarify that `ansi-term' is almost the same as `term' (Bug#18... f706c59 Update manual description of locate-file (Bug#23650) 1602262 Clarify effect of print-gensym (Bug#27776) 53e9fa2 * lisp/custom.el (defcustom): Fix docstring (Bug#27891). 607cc4e Define cl-type-definition button type as needed (Bug#28899) 9e6889c Emphasize that GPG passphrase caching is temporary (Bug#29907) 4b5711b Fix @examples in cc-mode.info, where lines were getting glued... 71961f1 Minor change in "Mode Line" section of Emacs manual 55a2b76 More fixes in the Emacs manual
-rw-r--r--doc/emacs/ack.texi4
-rw-r--r--doc/emacs/emacs.texi8
-rw-r--r--doc/emacs/entering.texi10
-rw-r--r--doc/emacs/frames.texi2
-rw-r--r--doc/emacs/macos.texi12
-rw-r--r--doc/emacs/misc.texi12
-rw-r--r--doc/emacs/screen.texi17
-rw-r--r--doc/lispref/files.texi10
-rw-r--r--doc/lispref/streams.texi23
-rw-r--r--doc/lispref/windows.texi25
-rw-r--r--doc/misc/cc-mode.texi6
-rw-r--r--doc/misc/epa.texi6
-rw-r--r--lisp/custom.el3
-rw-r--r--lisp/emacs-lisp/eieio-opt.el5
-rw-r--r--lisp/term.el4
-rw-r--r--src/print.c10
-rw-r--r--src/xdisp.c4
17 files changed, 109 insertions, 52 deletions
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi
index ee8649a0451..20c8d4e610b 100644
--- a/doc/emacs/ack.texi
+++ b/doc/emacs/ack.texi
@@ -209,8 +209,8 @@ for Korean Hanja.
209 209
210@item 210@item
211Andrew Choi and Yamamoto Mitsuharu wrote the Carbon support, used 211Andrew Choi and Yamamoto Mitsuharu wrote the Carbon support, used
212prior to Emacs 23 for Mac OS@. Yamamoto Mitsuharu continued to 212prior to Emacs 23 for macOS@. Yamamoto Mitsuharu continued to
213contribute to Mac OS support in the newer Nextstep port; and also 213contribute to macOS support in the newer Nextstep port; and also
214improved support for multi-monitor displays. 214improved support for multi-monitor displays.
215 215
216@item 216@item
diff --git a/doc/emacs/emacs.texi b/doc/emacs/emacs.texi
index 5904740b1f6..0051868fee6 100644
--- a/doc/emacs/emacs.texi
+++ b/doc/emacs/emacs.texi
@@ -221,7 +221,7 @@ Appendices
221* Emacs Invocation:: Hairy startup options. 221* Emacs Invocation:: Hairy startup options.
222* X Resources:: X resources for customizing Emacs. 222* X Resources:: X resources for customizing Emacs.
223* Antinews:: Information about Emacs version 25. 223* Antinews:: Information about Emacs version 25.
224* Mac OS / GNUstep:: Using Emacs under Mac OS and GNUstep. 224* Mac OS / GNUstep:: Using Emacs under macOS and GNUstep.
225* Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS. 225* Microsoft Windows:: Using Emacs on Microsoft Windows and MS-DOS.
226* Manifesto:: What's GNU? Gnu's Not Unix! 226* Manifesto:: What's GNU? Gnu's Not Unix!
227 227
@@ -1226,10 +1226,10 @@ GTK resources
1226* GTK Names in Emacs:: GTK widgets used by Emacs. 1226* GTK Names in Emacs:: GTK widgets used by Emacs.
1227* GTK styles:: What can be customized in a GTK widget. 1227* GTK styles:: What can be customized in a GTK widget.
1228 1228
1229Emacs and Mac OS / GNUstep 1229Emacs and macOS / GNUstep
1230 1230
1231* Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS. 1231* Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or macOS.
1232* Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS. 1232* Mac / GNUstep Customization:: Customizations under GNUstep or macOS.
1233* Mac / GNUstep Events:: How window system events are handled. 1233* Mac / GNUstep Events:: How window system events are handled.
1234* GNUstep Support:: Details on status of GNUstep support. 1234* GNUstep Support:: Details on status of GNUstep support.
1235 1235
diff --git a/doc/emacs/entering.texi b/doc/emacs/entering.texi
index 2ff258ffb0c..642c6ec1ab9 100644
--- a/doc/emacs/entering.texi
+++ b/doc/emacs/entering.texi
@@ -18,11 +18,11 @@
18@cindex starting Emacs 18@cindex starting Emacs
19 19
20 The usual way to invoke Emacs is with the shell command 20 The usual way to invoke Emacs is with the shell command
21@command{emacs}. From a terminal window running a Unix shell in the X 21@command{emacs}. From a terminal window running a Unix shell, you can
22Window System, you can run Emacs in the background with @command{emacs 22run Emacs in the background with @command{emacs &}; this way, Emacs
23&}; this way, Emacs won't tie up the terminal window, so you can use 23won't tie up the terminal window, so you can use it to run other shell
24it to run other shell commands. (For comparable methods of starting 24commands. (For comparable methods of starting Emacs on MS-Windows,
25Emacs on MS-Windows, see @ref{Windows Startup}.) 25see @ref{Windows Startup}.)
26 26
27@cindex startup screen 27@cindex startup screen
28 When Emacs starts up, the initial frame displays a special buffer 28 When Emacs starts up, the initial frame displays a special buffer
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi
index 7a7e1fd5636..7c1d36c720b 100644
--- a/doc/emacs/frames.texi
+++ b/doc/emacs/frames.texi
@@ -975,7 +975,7 @@ variable @code{scroll-bar-mode}. Its value should be either
975@code{right} (put scroll bars on the right side of windows), @code{left} 975@code{right} (put scroll bars on the right side of windows), @code{left}
976(put them on the left), or @code{nil} (disable vertical scroll bars). 976(put them on the left), or @code{nil} (disable vertical scroll bars).
977By default, Emacs puts scroll bars on the right if it was compiled with 977By default, Emacs puts scroll bars on the right if it was compiled with
978GTK+ support on the X Window System, and on MS-Windows or Mac OS; Emacs 978GTK+ support on the X Window System, and on MS-Windows or macOS; Emacs
979puts scroll bars on the left if compiled on the X Window System without 979puts scroll bars on the left if compiled on the X Window System without
980GTK+ support (following the old convention for X applications). 980GTK+ support (following the old convention for X applications).
981 981
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi
index 9af6f93b0c8..cf4e48bacb8 100644
--- a/doc/emacs/macos.texi
+++ b/doc/emacs/macos.texi
@@ -2,7 +2,7 @@
2@c Copyright (C) 2000-2018 Free Software Foundation, Inc. 2@c Copyright (C) 2000-2018 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
4@node Mac OS / GNUstep 4@node Mac OS / GNUstep
5@appendix Emacs and Mac OS / GNUstep 5@appendix Emacs and macOS / GNUstep
6@cindex macOS 6@cindex macOS
7@cindex Macintosh 7@cindex Macintosh
8@cindex GNUstep 8@cindex GNUstep
@@ -12,7 +12,7 @@ the GNUstep libraries on GNU/Linux or other operating systems, or on
12macOS with native window system support. On macOS, Emacs can be 12macOS with native window system support. On macOS, Emacs can be
13built either without window system support, with X11, or with the 13built either without window system support, with X11, or with the
14Cocoa interface; this section only applies to the Cocoa build. This 14Cocoa interface; this section only applies to the Cocoa build. This
15does not support versions before Mac OS X 10.6. 15does not support versions before macOS 10.6.
16 16
17 For various historical and technical reasons, Emacs uses the term 17 For various historical and technical reasons, Emacs uses the term
18@samp{Nextstep} internally, instead of ``Cocoa'' or ``macOS''; for 18@samp{Nextstep} internally, instead of ``Cocoa'' or ``macOS''; for
@@ -25,14 +25,14 @@ this writing, Emacs GNUstep support is alpha status (@pxref{GNUstep
25Support}), but we hope to improve it in the future. 25Support}), but we hope to improve it in the future.
26 26
27@menu 27@menu
28* Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or Mac OS. 28* Mac / GNUstep Basics:: Basic Emacs usage under GNUstep or macOS.
29* Mac / GNUstep Customization:: Customizations under GNUstep or Mac OS. 29* Mac / GNUstep Customization:: Customizations under GNUstep or macOS.
30* Mac / GNUstep Events:: How window system events are handled. 30* Mac / GNUstep Events:: How window system events are handled.
31* GNUstep Support:: Details on status of GNUstep support. 31* GNUstep Support:: Details on status of GNUstep support.
32@end menu 32@end menu
33 33
34@node Mac / GNUstep Basics 34@node Mac / GNUstep Basics
35@section Basic Emacs usage under Mac OS and GNUstep 35@section Basic Emacs usage under macOS and GNUstep
36 36
37 By default, the @key{alt} and @key{option} keys are the same as 37 By default, the @key{alt} and @key{option} keys are the same as
38@key{Meta}. The Mac @key{Cmd} key is the same as @key{Super}, and 38@key{Meta}. The Mac @key{Cmd} key is the same as @key{Super}, and
@@ -128,7 +128,7 @@ at the command-line before starting Emacs:
128 128
129 129
130@node Mac / GNUstep Events 130@node Mac / GNUstep Events
131@section Windowing System Events under Mac OS / GNUstep 131@section Windowing System Events under macOS / GNUstep
132 132
133 Nextstep applications receive a number of special events which have 133 Nextstep applications receive a number of special events which have
134no X equivalent. These are sent as specially defined key events, which 134no X equivalent. These are sent as specially defined key events, which
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index aeb8560ea00..3300ed67c6e 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -1729,7 +1729,7 @@ different virtual terminals, and switch to the Emacs server's virtual
1729terminal after calling @command{emacsclient}; or (ii) call 1729terminal after calling @command{emacsclient}; or (ii) call
1730@command{emacsclient} from within the Emacs server itself, using Shell 1730@command{emacsclient} from within the Emacs server itself, using Shell
1731mode (@pxref{Interactive Shell}) or Term mode (@pxref{Term Mode}); 1731mode (@pxref{Interactive Shell}) or Term mode (@pxref{Term Mode});
1732@code{emacsclient} blocks only the subshell under Emacs, and you can 1732@command{emacsclient} blocks only the subshell under Emacs, and you can
1733still use Emacs to edit the file. 1733still use Emacs to edit the file.
1734 1734
1735@kindex C-x # 1735@kindex C-x #
@@ -1794,13 +1794,13 @@ listed below:
1794@table @samp 1794@table @samp
1795@item -a @var{command} 1795@item -a @var{command}
1796@itemx --alternate-editor=@var{command} 1796@itemx --alternate-editor=@var{command}
1797Specify a shell command to run if @code{emacsclient} fails to contact Emacs. 1797Specify a shell command to run if @command{emacsclient} fails to
1798This is useful when running @code{emacsclient} in a script. 1798contact Emacs. This is useful when running @code{emacsclient} in a
1799The command may include arguments, which may be quoted "like this". 1799script. The command may include arguments, which may be quoted "like
1800Currently, escaping of quotes is not supported. 1800this". Currently, escaping of quotes is not supported.
1801 1801
1802As a special exception, if @var{command} is the empty string, then 1802As a special exception, if @var{command} is the empty string, then
1803@code{emacsclient} starts Emacs in daemon mode (as @command{emacs 1803@command{emacsclient} starts Emacs in daemon mode (as @samp{emacs
1804--daemon}) and then tries connecting again. 1804--daemon}) and then tries connecting again.
1805 1805
1806@cindex @env{ALTERNATE_EDITOR} environment variable 1806@cindex @env{ALTERNATE_EDITOR} environment variable
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi
index fb4eff9711a..8dd5e5f9e56 100644
--- a/doc/emacs/screen.texi
+++ b/doc/emacs/screen.texi
@@ -228,8 +228,8 @@ modified, it shows two stars (@samp{**}). For a read-only buffer, it
228shows @samp{%*} if the buffer is modified, and @samp{%%} otherwise. 228shows @samp{%*} if the buffer is modified, and @samp{%%} otherwise.
229 229
230 The character after @var{ch} is normally a dash (@samp{-}). 230 The character after @var{ch} is normally a dash (@samp{-}).
231However, if the default-directory for the current buffer is on a 231However, if @code{default-directory} (@pxref{File Names}) for the
232remote machine (@pxref{File Names}), @samp{@@} is displayed instead. 232current buffer is on a remote machine, @samp{@@} is displayed instead.
233 233
234 @var{fr} gives the selected frame name (@pxref{Frames}). It appears 234 @var{fr} gives the selected frame name (@pxref{Frames}). It appears
235only on text terminals. The initial frame's name is @samp{F1}. 235only on text terminals. The initial frame's name is @samp{F1}.
@@ -279,7 +279,10 @@ the mode line of every window. @xref{Recursive Edit}.
279 You can change the appearance of the mode line as well as the format 279 You can change the appearance of the mode line as well as the format
280of its contents. @xref{Optional Mode Line}. In addition, the mode 280of its contents. @xref{Optional Mode Line}. In addition, the mode
281line is mouse-sensitive; clicking on different parts of the mode line 281line is mouse-sensitive; clicking on different parts of the mode line
282performs various commands. @xref{Mode Line Mouse}. 282performs various commands. @xref{Mode Line Mouse}. Also, hovering
283the mouse pointer above mouse-sensitive portions of the mode line
284shows tooltips (@pxref{Tooltips}) with information about commands you
285can invoke by clicking on the mode line.
283 286
284@node Menu Bar 287@node Menu Bar
285@section The Menu Bar 288@section The Menu Bar
@@ -296,10 +299,10 @@ at the end of a menu item means that the command will prompt you for
296further input before it actually does anything. 299further input before it actually does anything.
297 300
298 Some of the commands in the menu bar have ordinary key bindings as 301 Some of the commands in the menu bar have ordinary key bindings as
299well; if so, a key binding is shown in parentheses after the item 302well; if so, a key binding is shown after the item itself. To view
300itself. To view the full command name and documentation for a menu 303the full command name and documentation for a menu item, type
301item, type @kbd{C-h k}, and then select the menu bar with the mouse in 304@kbd{C-h k}, and then select the menu bar with the mouse in the usual
302the usual way (@pxref{Key Help}). 305way (@pxref{Key Help}).
303 306
304@kindex F10 307@kindex F10
305@findex menu-bar-open 308@findex menu-bar-open
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 6a0312bd2f3..70d6ec9cdb3 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -1541,6 +1541,16 @@ argument. If @var{predicate} is @code{nil} or omitted,
1541@xref{Kinds of Files}, for other useful predicates, e.g., 1541@xref{Kinds of Files}, for other useful predicates, e.g.,
1542@code{file-executable-p} and @code{file-directory-p}. 1542@code{file-executable-p} and @code{file-directory-p}.
1543 1543
1544This function will normally skip directories, so if you want it to
1545find directories, make sure the @var{predicate} function returns
1546@code{dir-ok} for them. For example:
1547
1548@example
1549(locate-file "html" '("/var/www" "/srv") nil
1550 (lambda (f) (if (file-directory-p f) 'dir-ok)))
1551@end example
1552
1553
1544For compatibility, @var{predicate} can also be one of the symbols 1554For compatibility, @var{predicate} can also be one of the symbols
1545@code{executable}, @code{readable}, @code{writable}, @code{exists}, or 1555@code{executable}, @code{readable}, @code{writable}, @code{exists}, or
1546a list of one or more of these symbols. 1556a list of one or more of these symbols.
diff --git a/doc/lispref/streams.texi b/doc/lispref/streams.texi
index bd7dc2d9af3..6172392274a 100644
--- a/doc/lispref/streams.texi
+++ b/doc/lispref/streams.texi
@@ -503,7 +503,7 @@ in reverse order.
503@end group 503@end group
504 504
505@group 505@group
506(print "This is the output" 'eat-output) 506(print "This is the output" #'eat-output)
507 @result{} "This is the output" 507 @result{} "This is the output"
508@end group 508@end group
509 509
@@ -530,6 +530,22 @@ Now we can put the output in the proper order by reversing the list:
530Calling @code{concat} converts the list to a string so you can see its 530Calling @code{concat} converts the list to a string so you can see its
531contents more clearly. 531contents more clearly.
532 532
533@cindex @code{stderr} stream, use for debugging
534@anchor{external-debugging-output}
535@defun external-debugging-output character
536This function can be useful as an output stream when debugging. It
537writes @var{character} to the standard error stream.
538
539For example
540@example
541@group
542(print "This is the output" #'external-debugging-output)
543@print{} This is the output
544@result{} "This is the output"
545@end group
546@end example
547@end defun
548
533@node Output Functions 549@node Output Functions
534@section Output Functions 550@section Output Functions
535 551
@@ -570,8 +586,9 @@ operation:
570@end example 586@end example
571 587
572 In the functions below, @var{stream} stands for an output stream. 588 In the functions below, @var{stream} stands for an output stream.
573(See the previous section for a description of output streams.) If 589(See the previous section for a description of output streams. Also
574@var{stream} is @code{nil} or omitted, it defaults to the value of 590@xref{external-debugging-output}, a useful stream value for debugging.)
591If @var{stream} is @code{nil} or omitted, it defaults to the value of
575@code{standard-output}. 592@code{standard-output}.
576 593
577@defun print object &optional stream 594@defun print object &optional stream
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 3691a2c04f4..5ab6d6ee6a4 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -338,8 +338,8 @@ The functions @code{window-next-sibling} and
338and previous window, respectively, in the cyclic ordering of windows 338and previous window, respectively, in the cyclic ordering of windows
339(@pxref{Cyclic Window Ordering}). 339(@pxref{Cyclic Window Ordering}).
340 340
341 You can use the following functions to find the first live window on a 341 The following functions can be useful to locate a window within its
342frame and the window nearest to a given window. 342frame.
343 343
344@defun frame-first-window &optional frame-or-window 344@defun frame-first-window &optional frame-or-window
345This function returns the live window at the upper left corner of the 345This function returns the live window at the upper left corner of the
@@ -351,6 +351,20 @@ the assumption that the frame from our canonical example is selected
351@code{(frame-first-window)} returns @var{W2}. 351@code{(frame-first-window)} returns @var{W2}.
352@end defun 352@end defun
353 353
354@defun window-at-side-p &optional window side
355This function returns @code{t} if @var{window} is located at
356@var{side} of its containing frame. The argument @var{window} must be
357a valid window and defaults to the selected one. The argument
358@var{side} can be any of the symbols @code{left}, @code{top},
359@code{right} or @code{bottom}. The default value @code{nil} is
360handled like @code{bottom}.
361
362Note that this function disregards the minibuffer window
363(@pxref{Minibuffer Windows}). Hence, with @var{side} equal to
364@code{bottom} it may return @code{t} also when the minibuffer window
365appears right below @var{window}.
366@end defun
367
354@cindex window in direction 368@cindex window in direction
355@defun window-in-direction direction &optional window ignore sign wrap mini 369@defun window-in-direction direction &optional window ignore sign wrap mini
356This function returns the nearest live window in direction 370This function returns the nearest live window in direction
@@ -385,7 +399,12 @@ the minibuffer window if and only if it is currently active. If
385window even when it's not active. However, if @var{wrap} is 399window even when it's not active. However, if @var{wrap} is
386non-@code{nil}, it always acts as if @var{mini} were @code{nil}. 400non-@code{nil}, it always acts as if @var{mini} were @code{nil}.
387 401
388If it doesn't find a suitable window, this function returns @code{nil}. 402If it doesn't find a suitable window, this function returns
403@code{nil}.
404
405Don't use this function to check whether there is @emph{no} window in
406@var{direction}. Calling @code{window-at-side-p} described above is a
407much more efficient way to do that.
389@end defun 408@end defun
390 409
391The following function allows the entire window tree of a frame to be 410The following function allows the entire window tree of a frame to be
diff --git a/doc/misc/cc-mode.texi b/doc/misc/cc-mode.texi
index 292342cb4a3..0132ab1775c 100644
--- a/doc/misc/cc-mode.texi
+++ b/doc/misc/cc-mode.texi
@@ -5634,15 +5634,15 @@ Works with:
5634@end ifinfo 5634@end ifinfo
5635 5635
5636@macro sssTBasicOffset 5636@macro sssTBasicOffset
5637<--> @i{c-basic-offset}@c 5637<--> @i{c-basic-offset}
5638@end macro 5638@end macro
5639 5639
5640@macro sssTsssTBasicOffset 5640@macro sssTsssTBasicOffset
5641<--><--> @i{c-basic-offset}@c 5641<--><--> @i{c-basic-offset}
5642@end macro 5642@end macro
5643 5643
5644@macro hereFn{func} 5644@macro hereFn{func}
5645<- @i{\func\}@c 5645<- @i{\func\}
5646@end macro 5646@end macro
5647 5647
5648@c The TeX backend seems to insert extra spaces around the argument. :P 5648@c The TeX backend seems to insert extra spaces around the argument. :P
diff --git a/doc/misc/epa.texi b/doc/misc/epa.texi
index 80ea43e8032..8c21a262a1e 100644
--- a/doc/misc/epa.texi
+++ b/doc/misc/epa.texi
@@ -455,7 +455,7 @@ GnuPG 2.1 uses a fixed address for the Unix domain socket used to
455communicate with gpg-agent. The @code{GPG_AGENT_INFO} environment 455communicate with gpg-agent. The @code{GPG_AGENT_INFO} environment
456variable, which is used by GnuPG 2.0 and 1.4, is ignored. That means, 456variable, which is used by GnuPG 2.0 and 1.4, is ignored. That means,
457if your system has both GnuPG 2.1 and 1.4, the gpg command from GnuPG 457if your system has both GnuPG 2.1 and 1.4, the gpg command from GnuPG
4581.4 is not able to use gpg-agent provided by 2.1 (at least out of box).q 4581.4 is not able to use gpg-agent provided by 2.1 (at least out of box).
459 459
460@item 460@item
461GnuPG 2.1 (2.1.5 or later) has a mechanism to direct the Pinentry 461GnuPG 2.1 (2.1.5 or later) has a mechanism to direct the Pinentry
@@ -474,7 +474,9 @@ graphical prompt.
474 474
475Typing passphrases is a troublesome task if you frequently open and 475Typing passphrases is a troublesome task if you frequently open and
476close the same file. GnuPG and EasyPG Assistant provide mechanisms to 476close the same file. GnuPG and EasyPG Assistant provide mechanisms to
477remember your passphrases. However, the configuration is a bit 477remember your passphrases for a limited time. Using these, you only
478need to re-enter the passphrase occasionally.
479However, the configuration is a bit
478confusing since it depends on your GnuPG installation@xref{GnuPG 480confusing since it depends on your GnuPG installation@xref{GnuPG
479version compatibility}, encryption method (symmetric or public key), 481version compatibility}, encryption method (symmetric or public key),
480and whether or not you want to use gpg-agent. Here are some 482and whether or not you want to use gpg-agent. Here are some
diff --git a/lisp/custom.el b/lisp/custom.el
index edbbc8c1449..b7539685a89 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -306,7 +306,8 @@ The following common keywords are also meaningful.
306 VALUE should be a list with the form (PACKAGE . VERSION) 306 VALUE should be a list with the form (PACKAGE . VERSION)
307 specifying that the variable was first introduced, or its 307 specifying that the variable was first introduced, or its
308 default value was changed, in PACKAGE version VERSION. This 308 default value was changed, in PACKAGE version VERSION. This
309 keyword takes priority over :version. The PACKAGE and VERSION 309 keyword takes priority over :version. For packages which
310 are bundled with Emacs releases, the PACKAGE and VERSION
310 must appear in the alist `customize-package-emacs-version-alist'. 311 must appear in the alist `customize-package-emacs-version-alist'.
311 Since PACKAGE must be unique and the user might see it in an 312 Since PACKAGE must be unique and the user might see it in an
312 error message, a good choice is the official name of the 313 error message, a good choice is the official name of the
diff --git a/lisp/emacs-lisp/eieio-opt.el b/lisp/emacs-lisp/eieio-opt.el
index dbec48d038b..eeb0bc95d68 100644
--- a/lisp/emacs-lisp/eieio-opt.el
+++ b/lisp/emacs-lisp/eieio-opt.el
@@ -142,7 +142,10 @@ are not abstract."
142 (find-lisp-object-file-name ctr def))) 142 (find-lisp-object-file-name ctr def)))
143 (when location 143 (when location
144 (insert (substitute-command-keys " in `")) 144 (insert (substitute-command-keys " in `"))
145 (help-insert-xref-button 145 ;; The `cl-type-definition' button type can't be autoloaded
146 ;; due to circularity during bootstrap (Bug#28899).
147 (require 'cl-extra)
148 (help-insert-xref-button
146 (help-fns-short-filename location) 149 (help-fns-short-filename location)
147 'cl-type-definition ctr location 'define-type) 150 'cl-type-definition ctr location 'define-type)
148 (insert (substitute-command-keys "'"))) 151 (insert (substitute-command-keys "'")))
diff --git a/lisp/term.el b/lisp/term.el
index 20719987a06..a0313d88dac 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -4139,7 +4139,9 @@ the process. Any more args are arguments to PROGRAM."
4139 4139
4140;;;###autoload 4140;;;###autoload
4141(defun ansi-term (program &optional new-buffer-name) 4141(defun ansi-term (program &optional new-buffer-name)
4142 "Start a terminal-emulator in a new buffer." 4142 "Start a terminal-emulator in a new buffer.
4143This is almost the same as `term' apart from always creating a new buffer,
4144and `C-x' being marked as a `term-escape-char'. "
4143 (interactive (list (read-from-minibuffer "Run program: " 4145 (interactive (list (read-from-minibuffer "Run program: "
4144 (or explicit-shell-file-name 4146 (or explicit-shell-file-name
4145 (getenv "ESHELL") 4147 (getenv "ESHELL")
diff --git a/src/print.c b/src/print.c
index 71579673248..b3c0f6f38fc 100644
--- a/src/print.c
+++ b/src/print.c
@@ -748,7 +748,7 @@ is used instead. */)
748 748
749DEFUN ("external-debugging-output", Fexternal_debugging_output, Sexternal_debugging_output, 1, 1, 0, 749DEFUN ("external-debugging-output", Fexternal_debugging_output, Sexternal_debugging_output, 1, 1, 0,
750 doc: /* Write CHARACTER to stderr. 750 doc: /* Write CHARACTER to stderr.
751You can call print while debugging emacs, and pass it this function 751You can call `print' while debugging emacs, and pass it this function
752to make it write to the debugging output. */) 752to make it write to the debugging output. */)
753 (Lisp_Object character) 753 (Lisp_Object character)
754{ 754{
@@ -2372,10 +2372,10 @@ I.e., (quote foo) prints as \\='foo, (function foo) as #\\='foo. */);
2372 DEFVAR_LISP ("print-gensym", Vprint_gensym, 2372 DEFVAR_LISP ("print-gensym", Vprint_gensym,
2373 doc: /* Non-nil means print uninterned symbols so they will read as uninterned. 2373 doc: /* Non-nil means print uninterned symbols so they will read as uninterned.
2374I.e., the value of (make-symbol \"foobar\") prints as #:foobar. 2374I.e., the value of (make-symbol \"foobar\") prints as #:foobar.
2375When the uninterned symbol appears within a recursive data structure, 2375When the uninterned symbol appears multiple times within the printed
2376and the symbol appears more than once, in addition use the #N# and #N= 2376expression, and `print-circle' is non-nil, in addition use the #N#
2377constructs as needed, so that multiple references to the same symbol are 2377and #N= constructs as needed, so that multiple references to the same
2378shared once again when the text is read back. */); 2378symbol are shared once again when the text is read back. */);
2379 Vprint_gensym = Qnil; 2379 Vprint_gensym = Qnil;
2380 2380
2381 DEFVAR_LISP ("print-circle", Vprint_circle, 2381 DEFVAR_LISP ("print-circle", Vprint_circle,
diff --git a/src/xdisp.c b/src/xdisp.c
index fd8aad04121..17a3cc3b89a 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -32526,8 +32526,8 @@ A value of zero means always recenter point if it moves off screen. */);
32526 32526
32527 DEFVAR_INT ("scroll-margin", scroll_margin, 32527 DEFVAR_INT ("scroll-margin", scroll_margin,
32528 doc: /* Number of lines of margin at the top and bottom of a window. 32528 doc: /* Number of lines of margin at the top and bottom of a window.
32529Recenter the window whenever point gets within this many lines 32529Trigger automatic scrolling whenever point gets within this many lines
32530of the top or bottom of the window. */); 32530of the top or bottom of the window (see info node `Auto Scrolling'). */);
32531 scroll_margin = 0; 32531 scroll_margin = 0;
32532 32532
32533 DEFVAR_LISP ("maximum-scroll-margin", Vmaximum_scroll_margin, 32533 DEFVAR_LISP ("maximum-scroll-margin", Vmaximum_scroll_margin,