diff options
| author | Eli Zaretskii | 2019-10-14 17:35:42 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-10-14 17:35:42 +0300 |
| commit | 668137acfbcb71108748195078d11ac3433f1f3f (patch) | |
| tree | 08ccfc2e69fd083beed4d068d1d632c08a8a32f9 | |
| parent | ed29d0239a03b6eee418e438edee6b2df7612606 (diff) | |
| download | emacs-668137acfbcb71108748195078d11ac3433f1f3f.tar.gz emacs-668137acfbcb71108748195078d11ac3433f1f3f.zip | |
; Minor copyedits of recent documentation changes
* etc/NEWS:
* doc/lispref/display.texi (Face Attributes): Fix
documentation of the ':extend' face attribute.
| -rw-r--r-- | doc/lispref/display.texi | 18 | ||||
| -rw-r--r-- | etc/NEWS | 9 |
2 files changed, 15 insertions, 12 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 1678d32db0a..f35b11f8493 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -2484,14 +2484,16 @@ attributes from faces earlier in the list override those from later | |||
| 2484 | faces. | 2484 | faces. |
| 2485 | 2485 | ||
| 2486 | @item :extend | 2486 | @item :extend |
| 2487 | Whether or not this face will be extended until the end of the window. | 2487 | Whether or not this face will be extended beyond end of line and will |
| 2488 | The value should be @code{t} to extend until end of the window using | 2488 | affect the display of the empty space between the end of line and the |
| 2489 | this face or @code{nil} fill the space between the end of the line and | 2489 | edge of the window. The value should be @code{t} to display the empty |
| 2490 | the end of the window with the default face. When a face is conformed | 2490 | space between end of line and edge of the window using this face, or |
| 2491 | by merging multiple other faces; only those with @code{:extend t} will | 2491 | @code{nil} to not use this face for the space between the end of the |
| 2492 | be merged to conform a new face to extend until end of window. By | 2492 | line and the edge of the window. When Emacs merges several faces for |
| 2493 | default only @code{region} and @code{hl-line} have this attribute set | 2493 | displaying the empty space beyond end of line, only those faces with |
| 2494 | to @code{t}. | 2494 | @code{:extend} non-@code{nil} will be merged. By default, only |
| 2495 | @code{region} and @code{hl-line} faces have this attribute set to | ||
| 2496 | @code{t}. | ||
| 2495 | 2497 | ||
| 2496 | @end table | 2498 | @end table |
| 2497 | 2499 | ||
| @@ -389,10 +389,11 @@ to 'completion-styles' or 'completion-category-overrides' to use it. | |||
| 389 | 389 | ||
| 390 | +++ | 390 | +++ |
| 391 | ** New face attribute ':extend' to control face extension at EOL. | 391 | ** New face attribute ':extend' to control face extension at EOL. |
| 392 | There is a new face attribute :extend to use the face attributes to | 392 | The new face attribute ':extend' controls whether to use the face for |
| 393 | extend after the end of the line until the end of the window. Such | 393 | displaying the empty space beyond end of line (EOL) till the edge of |
| 394 | :extend is set to nil by default in all faces except for 'hl-line' and | 394 | the window. By default, this attribute is non-nil only for 'region' |
| 395 | 'region' because those extend until the end of the window by default. | 395 | and 'hl-line' faces; any other face that crosses end of line will not |
| 396 | affect the display of the empty space at EOL. | ||
| 396 | 397 | ||
| 397 | ** Connection-local variables | 398 | ** Connection-local variables |
| 398 | 399 | ||