diff options
| author | Eli Zaretskii | 2022-07-29 10:08:50 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-07-29 10:08:50 +0300 |
| commit | c6029ed34ea83c7c0adbd723d63bd78ff0ec0796 (patch) | |
| tree | 6d7313ce717dcb5e1eddb897b6b6120bd313765d /src | |
| parent | 67a218d33926931b20096edce3eaba2958283bde (diff) | |
| download | emacs-c6029ed34ea83c7c0adbd723d63bd78ff0ec0796.tar.gz emacs-c6029ed34ea83c7c0adbd723d63bd78ff0ec0796.zip | |
Minor improvements of recent documentation changes
* src/editfns.c (Fwiden):
* doc/lispref/display.texi (Auto Faces):
* src/xdisp.c (syms_of_xdisp) <fontification-functions>:
* etc/NEWS: Clarify and improve wording of documentation changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/editfns.c | 4 | ||||
| -rw-r--r-- | src/xdisp.c | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/editfns.c b/src/editfns.c index 40e65dda0c9..d15d4dc68b9 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -2661,8 +2661,8 @@ DEFUN ("widen", Fwiden, Swiden, 0, 0, "", | |||
| 2661 | This allows the buffer's full text to be seen and edited. | 2661 | This allows the buffer's full text to be seen and edited. |
| 2662 | 2662 | ||
| 2663 | When called from Lisp inside a body form in which `narrow-to-region' | 2663 | When called from Lisp inside a body form in which `narrow-to-region' |
| 2664 | was called with an optional argument LOCK non-nil, this does not | 2664 | was called with an optional argument LOCK non-nil, this function does |
| 2665 | produce any effect. */) | 2665 | not produce any effect. */) |
| 2666 | (void) | 2666 | (void) |
| 2667 | { | 2667 | { |
| 2668 | if (! NILP (Vrestrictions_locked)) | 2668 | if (! NILP (Vrestrictions_locked)) |
diff --git a/src/xdisp.c b/src/xdisp.c index 8867406c4e2..3ef3c0d3796 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -36653,12 +36653,13 @@ The tool bar style must also show labels for this to have any effect, see | |||
| 36653 | doc: /* List of functions to call to fontify regions of text. | 36653 | doc: /* List of functions to call to fontify regions of text. |
| 36654 | Each function is called with one argument POS. Functions must | 36654 | Each function is called with one argument POS. Functions must |
| 36655 | fontify a region starting at POS in the current buffer, and give | 36655 | fontify a region starting at POS in the current buffer, and give |
| 36656 | fontified regions the property `fontified'. | 36656 | fontified regions the property `fontified' with a non-nil value. |
| 36657 | 36657 | ||
| 36658 | Note that, when the buffer contains one or more lines whose length is | 36658 | Note that, when the buffer contains one or more lines whose length is |
| 36659 | above `long-line-threshold', the restrictions of the buffer are locked | 36659 | above `long-line-threshold', the narrowing of the buffer is locked |
| 36660 | (see `narrow-to-region'), and these functions only have access to a | 36660 | (see `narrow-to-region'), and these functions only have access to a |
| 36661 | small portion of the buffer around POS. */); | 36661 | small portion of the buffer around POS and cannot use `widen' to gain |
| 36662 | access to other portions of buffer text. */); | ||
| 36662 | Vfontification_functions = Qnil; | 36663 | Vfontification_functions = Qnil; |
| 36663 | Fmake_variable_buffer_local (Qfontification_functions); | 36664 | Fmake_variable_buffer_local (Qfontification_functions); |
| 36664 | 36665 | ||