aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-10-14 17:35:42 +0300
committerEli Zaretskii2019-10-14 17:35:42 +0300
commit668137acfbcb71108748195078d11ac3433f1f3f (patch)
tree08ccfc2e69fd083beed4d068d1d632c08a8a32f9
parented29d0239a03b6eee418e438edee6b2df7612606 (diff)
downloademacs-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.texi18
-rw-r--r--etc/NEWS9
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
2484faces. 2484faces.
2485 2485
2486@item :extend 2486@item :extend
2487Whether or not this face will be extended until the end of the window. 2487Whether or not this face will be extended beyond end of line and will
2488The value should be @code{t} to extend until end of the window using 2488affect the display of the empty space between the end of line and the
2489this face or @code{nil} fill the space between the end of the line and 2489edge of the window. The value should be @code{t} to display the empty
2490the end of the window with the default face. When a face is conformed 2490space between end of line and edge of the window using this face, or
2491by 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
2492be merged to conform a new face to extend until end of window. By 2492line and the edge of the window. When Emacs merges several faces for
2493default only @code{region} and @code{hl-line} have this attribute set 2493displaying the empty space beyond end of line, only those faces with
2494to @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
diff --git a/etc/NEWS b/etc/NEWS
index c48184aec27..ff613ecd414 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
392There is a new face attribute :extend to use the face attributes to 392The new face attribute ':extend' controls whether to use the face for
393extend after the end of the line until the end of the window. Such 393displaying 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 394the window. By default, this attribute is non-nil only for 'region'
395'region' because those extend until the end of the window by default. 395and 'hl-line' faces; any other face that crosses end of line will not
396affect the display of the empty space at EOL.
396 397
397** Connection-local variables 398** Connection-local variables
398 399