diff options
| author | Glenn Morris | 2020-05-28 07:50:26 -0700 |
|---|---|---|
| committer | Glenn Morris | 2020-05-28 07:50:26 -0700 |
| commit | 4939beacb33ea91cd35e18fa7d43a4392d47f6f4 (patch) | |
| tree | 89abaf5e14f5baece710d57e32e3575cb2be514a /doc | |
| parent | a134691435e107f348becb0b695a36e3e9c8fdac (diff) | |
| parent | bd7b681dc432ce77fbe3634c919fe49ca335f8e1 (diff) | |
| download | emacs-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.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 1 | ||||
| -rw-r--r-- | doc/lispref/loading.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 2 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 20 |
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. | |||
| 663 | Toggle whether Edebug saves and restores the outside window | 663 | Toggle whether Edebug saves and restores the outside window |
| 664 | configuration (@code{edebug-toggle-save-windows}). | 664 | configuration (@code{edebug-toggle-save-windows}). |
| 665 | 665 | ||
| 666 | With a prefix argument, @code{W} only toggles saving and restoring of | 666 | With a prefix argument, @kbd{W} only toggles saving and restoring of |
| 667 | the selected window. To specify a window that is not displaying the | 667 | the selected window. To specify a window that is not displaying the |
| 668 | source code buffer, you must use @kbd{C-x X W} from the global keymap. | 668 | source 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. | |||
| 3366 | file---such as the ones that implement completion of host names for | 3366 | file---such as the ones that implement completion of host names for |
| 3367 | remote file names---should have a non-@code{nil} @code{safe-magic} | 3367 | remote file names---should have a non-@code{nil} @code{safe-magic} |
| 3368 | property. For instance, Emacs normally protects directory names | 3368 | property. For instance, Emacs normally protects directory names |
| 3369 | @c FIXME I don't think this means the PATH environment variable? | ||
| 3369 | it finds in @code{PATH} from becoming magic, if they look like magic | 3370 | it finds in @code{PATH} from becoming magic, if they look like magic |
| 3370 | file names, by prefixing them with @samp{/:}. But if the handler that | 3371 | file names, by prefixing them with @samp{/:}. But if the handler that |
| 3371 | would be used for them has a non-@code{nil} @code{safe-magic} | 3372 | would 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 | |||
| 338 | the above initialization procedure. Emacs initializes | 338 | the 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 | ||
| 341 | The syntax of @env{EMACSLOADPATH} is the same as used for @code{PATH}; | 341 | The syntax of @env{EMACSLOADPATH} is the same as used for @env{PATH}; |
| 342 | directories are separated by @samp{:} (or @samp{;}, on some | 342 | directories are separated by @samp{:} (or @samp{;}, on some |
| 343 | operating systems). | 343 | operating 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 | |||
| 1194 | of the environment variable @env{NAME}, if that is set. | 1194 | of the environment variable @env{NAME}, if that is set. |
| 1195 | 1195 | ||
| 1196 | If the Emacs process's user-id does not correspond to any known user (and | 1196 | If the Emacs process's user-id does not correspond to any known user (and |
| 1197 | provided @code{NAME} is not set), the result is @code{"unknown"}. | 1197 | provided @env{NAME} is not set), the result is @code{"unknown"}. |
| 1198 | 1198 | ||
| 1199 | If @var{uid} is non-@code{nil}, then it should be a number (a user-id) | 1199 | If @var{uid} is non-@code{nil}, then it should be a number (a user-id) |
| 1200 | or a string (a login name). Then @code{user-full-name} returns the full | 1200 | or 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 | |||
| 4511 | typically faster (@xref{Deletion}, and @ref{Insertion}). | 4511 | typically faster (@xref{Deletion}, and @ref{Insertion}). |
| 4512 | 4512 | ||
| 4513 | For its working, @code{replace-buffer-contents} needs to compare the | 4513 | For its working, @code{replace-buffer-contents} needs to compare the |
| 4514 | contents of the original buffer with that of @code{source} which is a | 4514 | contents of the original buffer with that of @var{source} which is a |
| 4515 | costly operation if the buffers are huge and there is a high number of | 4515 | costly operation if the buffers are huge and there is a high number of |
| 4516 | differences between them. In order to keep | 4516 | differences 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 |
| 4518 | optional arguments. | 4518 | optional 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 |
| 4521 | and exceeded, it will fall back to @code{delete-region} and | 4521 | and 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 |
| 4525 | If the actual costs exceed this limit, heuristics are used to provide | 4525 | the actual costs exceed this limit, heuristics are used to provide a |
| 4526 | a faster but suboptimal solution. The default value is 1000000. | 4526 | faster 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 |
| 4529 | replacement could be performed. Otherwise, i.e., if @code{max-secs} | 4529 | replacement could be performed. Otherwise, i.e., if @var{max-secs} |
| 4530 | was exceeded, it returns nil. | 4530 | was 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 |
| 4534 | This function replaces the region between @code{beg} and @code{end} | 4534 | This function replaces the region between @var{beg} and @var{end} |
| 4535 | using the given @code{replace-fn}. The function @code{replace-fn} is | 4535 | using the given @var{replace-fn}. The function @var{replace-fn} is |
| 4536 | run in the current buffer narrowed to the specified region and it | 4536 | run in the current buffer narrowed to the specified region and it |
| 4537 | should return either a string or a buffer replacing the region. | 4537 | should return either a string or a buffer replacing the region. |
| 4538 | 4538 | ||
| 4539 | The replacement is performed using @code{replace-buffer-contents} (see | 4539 | The replacement is performed using @code{replace-buffer-contents} (see |
| 4540 | above) which also describes the @code{max-secs} and @code{max-costs} | 4540 | above) which also describes the @var{max-secs} and @var{max-costs} |
| 4541 | arguments and the return value. | 4541 | arguments and the return value. |
| 4542 | 4542 | ||
| 4543 | Note: If the replacement is a string, it will be placed in a temporary | 4543 | Note: 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 | |||
| 4678 | above. @var{specification} is an alist that has elements where the | 4678 | above. @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 | ||
| 4681 | If @code{ONLY-PRESENT} is @code{nil}, errors will be signaled if a | 4681 | If @var{only-present} is @code{nil}, errors will be signaled if a |
| 4682 | format character has been used that's not present in | 4682 | format 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 |
| 4684 | specification is left verbatim in the result. | 4684 | specification is left verbatim in the result. |