aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2020-05-28 07:50:26 -0700
committerGlenn Morris2020-05-28 07:50:26 -0700
commit4939beacb33ea91cd35e18fa7d43a4392d47f6f4 (patch)
tree89abaf5e14f5baece710d57e32e3575cb2be514a /doc
parenta134691435e107f348becb0b695a36e3e9c8fdac (diff)
parentbd7b681dc432ce77fbe3634c919fe49ca335f8e1 (diff)
downloademacs-4939beacb33ea91cd35e18fa7d43a4392d47f6f4.tar.gz
emacs-4939beacb33ea91cd35e18fa7d43a4392d47f6f4.zip
Merge from origin/emacs-27
bd7b681dc4 (origin/emacs-27) Tiny texinfo markup fixes d0dd0e0612 ; Fix more @var/@code mixups in Elisp manual 313dc0439e ; Fix another format-spec typo in the Elisp manual 9d7fd78421 Make next-error behavior a bit more flexible 0691d25295 * etc/NEWS.25: Belatedly announce upcase-dwim and downcase... df91c94ca8 Fix access to single-byte characters in buffer text
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/edebug.texi2
-rw-r--r--doc/lispref/files.texi1
-rw-r--r--doc/lispref/loading.texi2
-rw-r--r--doc/lispref/os.texi2
-rw-r--r--doc/lispref/text.texi20
5 files changed, 14 insertions, 13 deletions
diff --git a/doc/lispref/edebug.texi b/doc/lispref/edebug.texi
index 5970e7cf801..d879f3dcadf 100644
--- a/doc/lispref/edebug.texi
+++ b/doc/lispref/edebug.texi
@@ -663,7 +663,7 @@ definition in the future.
663Toggle whether Edebug saves and restores the outside window 663Toggle whether Edebug saves and restores the outside window
664configuration (@code{edebug-toggle-save-windows}). 664configuration (@code{edebug-toggle-save-windows}).
665 665
666With a prefix argument, @code{W} only toggles saving and restoring of 666With a prefix argument, @kbd{W} only toggles saving and restoring of
667the selected window. To specify a window that is not displaying the 667the selected window. To specify a window that is not displaying the
668source code buffer, you must use @kbd{C-x X W} from the global keymap. 668source code buffer, you must use @kbd{C-x X W} from the global keymap.
669@end table 669@end table
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index 686dbdb1caf..574c7e5aead 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -3366,6 +3366,7 @@ each have handlers.
3366file---such as the ones that implement completion of host names for 3366file---such as the ones that implement completion of host names for
3367remote file names---should have a non-@code{nil} @code{safe-magic} 3367remote file names---should have a non-@code{nil} @code{safe-magic}
3368property. For instance, Emacs normally protects directory names 3368property. For instance, Emacs normally protects directory names
3369@c FIXME I don't think this means the PATH environment variable?
3369it finds in @code{PATH} from becoming magic, if they look like magic 3370it finds in @code{PATH} from becoming magic, if they look like magic
3370file names, by prefixing them with @samp{/:}. But if the handler that 3371file names, by prefixing them with @samp{/:}. But if the handler that
3371would be used for them has a non-@code{nil} @code{safe-magic} 3372would be used for them has a non-@code{nil} @code{safe-magic}
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index 28942820793..6833af9c262 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -338,7 +338,7 @@ If the environment variable @env{EMACSLOADPATH} is set, it modifies
338the above initialization procedure. Emacs initializes 338the above initialization procedure. Emacs initializes
339@code{load-path} based on the value of the environment variable. 339@code{load-path} based on the value of the environment variable.
340 340
341The syntax of @env{EMACSLOADPATH} is the same as used for @code{PATH}; 341The syntax of @env{EMACSLOADPATH} is the same as used for @env{PATH};
342directories are separated by @samp{:} (or @samp{;}, on some 342directories are separated by @samp{:} (or @samp{;}, on some
343operating systems). 343operating systems).
344@ignore 344@ignore
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 8f2c7439d9f..67e44678299 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -1194,7 +1194,7 @@ This function returns the full name of the logged-in user---or the value
1194of the environment variable @env{NAME}, if that is set. 1194of the environment variable @env{NAME}, if that is set.
1195 1195
1196If the Emacs process's user-id does not correspond to any known user (and 1196If the Emacs process's user-id does not correspond to any known user (and
1197provided @code{NAME} is not set), the result is @code{"unknown"}. 1197provided @env{NAME} is not set), the result is @code{"unknown"}.
1198 1198
1199If @var{uid} is non-@code{nil}, then it should be a number (a user-id) 1199If @var{uid} is non-@code{nil}, then it should be a number (a user-id)
1200or a string (a login name). Then @code{user-full-name} returns the full 1200or a string (a login name). Then @code{user-full-name} returns the full
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 70fb7141a1f..7c4bed04cb5 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -4511,33 +4511,33 @@ would destroy these properties. However, the latter combination is
4511typically faster (@xref{Deletion}, and @ref{Insertion}). 4511typically faster (@xref{Deletion}, and @ref{Insertion}).
4512 4512
4513For its working, @code{replace-buffer-contents} needs to compare the 4513For its working, @code{replace-buffer-contents} needs to compare the
4514contents of the original buffer with that of @code{source} which is a 4514contents of the original buffer with that of @var{source} which is a
4515costly operation if the buffers are huge and there is a high number of 4515costly operation if the buffers are huge and there is a high number of
4516differences between them. In order to keep 4516differences between them. In order to keep
4517@code{replace-buffer-contents}'s runtime in bounds, it has two 4517@code{replace-buffer-contents}'s runtime in bounds, it has two
4518optional arguments. 4518optional arguments.
4519 4519
4520@code{max-secs} defines a hard boundary in terms of seconds. If given 4520@var{max-secs} defines a hard boundary in terms of seconds. If given
4521and exceeded, it will fall back to @code{delete-region} and 4521and exceeded, it will fall back to @code{delete-region} and
4522@code{insert-buffer-substring}. 4522@code{insert-buffer-substring}.
4523 4523
4524@code{max-costs} defines the quality of the difference computation. 4524@var{max-costs} defines the quality of the difference computation. If
4525If the actual costs exceed this limit, heuristics are used to provide 4525the actual costs exceed this limit, heuristics are used to provide a
4526a faster but suboptimal solution. The default value is 1000000. 4526faster but suboptimal solution. The default value is 1000000.
4527 4527
4528@code{replace-buffer-contents} returns t if a non-destructive 4528@code{replace-buffer-contents} returns t if a non-destructive
4529replacement could be performed. Otherwise, i.e., if @code{max-secs} 4529replacement could be performed. Otherwise, i.e., if @var{max-secs}
4530was exceeded, it returns nil. 4530was exceeded, it returns nil.
4531@end deffn 4531@end deffn
4532 4532
4533@defun replace-region-contents beg end replace-fn &optional max-secs max-costs 4533@defun replace-region-contents beg end replace-fn &optional max-secs max-costs
4534This function replaces the region between @code{beg} and @code{end} 4534This function replaces the region between @var{beg} and @var{end}
4535using the given @code{replace-fn}. The function @code{replace-fn} is 4535using the given @var{replace-fn}. The function @var{replace-fn} is
4536run in the current buffer narrowed to the specified region and it 4536run in the current buffer narrowed to the specified region and it
4537should return either a string or a buffer replacing the region. 4537should return either a string or a buffer replacing the region.
4538 4538
4539The replacement is performed using @code{replace-buffer-contents} (see 4539The replacement is performed using @code{replace-buffer-contents} (see
4540above) which also describes the @code{max-secs} and @code{max-costs} 4540above) which also describes the @var{max-secs} and @var{max-costs}
4541arguments and the return value. 4541arguments and the return value.
4542 4542
4543Note: If the replacement is a string, it will be placed in a temporary 4543Note: If the replacement is a string, it will be placed in a temporary
@@ -4678,7 +4678,7 @@ expanded when the header line is computed. To do this, the
4678above. @var{specification} is an alist that has elements where the 4678above. @var{specification} is an alist that has elements where the
4679@code{car} is a character and the @code{cdr} is the substitution. 4679@code{car} is a character and the @code{cdr} is the substitution.
4680 4680
4681If @code{ONLY-PRESENT} is @code{nil}, errors will be signaled if a 4681If @var{only-present} is @code{nil}, errors will be signaled if a
4682format character has been used that's not present in 4682format character has been used that's not present in
4683@var{specification}. If it's non-@code{nil}, that format 4683@var{specification}. If it's non-@code{nil}, that format
4684specification is left verbatim in the result. 4684specification is left verbatim in the result.