comparison man/display.texi @ 38814:d4d24695f9e2

(Trailing Whitespace): Document that the option is buffer-local. Suggested by Robert Marshall <robert@chezmarshall.freeserve.co.uk>.
author Eli Zaretskii <eliz@gnu.org>
date Tue, 14 Aug 2001 13:14:31 +0000
parents 5464ee1ba8e2
children ce6b6f1fd86f
comparison
equal deleted inserted replaced
38813:67215478a141 38814:d4d24695f9e2
145 This face determines the colors and font of Emacs's menus. Setting the 145 This face determines the colors and font of Emacs's menus. Setting the
146 font of LessTif/Motif menus is currently not supported; attempts to set 146 font of LessTif/Motif menus is currently not supported; attempts to set
147 the font are ignored in this case. 147 the font are ignored in this case.
148 @item trailing-whitespace 148 @item trailing-whitespace
149 The face for highlighting trailing whitespace when 149 The face for highlighting trailing whitespace when
150 @code{show-trailing-whitespace} is non-nil. 150 @code{show-trailing-whitespace} is non-nil; see @ref{Trailing Whitespace}.
151 @item variable-pitch 151 @item variable-pitch
152 The basic variable-pitch face. 152 The basic variable-pitch face.
153 @end table 153 @end table
154 154
155 @cindex @code{region} face 155 @cindex @code{region} face
375 @vindex show-trailing-whitespace 375 @vindex show-trailing-whitespace
376 It is easy to leave unnecessary spaces at the end of a line without 376 It is easy to leave unnecessary spaces at the end of a line without
377 realizing it. In most cases, this @dfn{trailing whitespace} has no 377 realizing it. In most cases, this @dfn{trailing whitespace} has no
378 effect, but there are special circumstances where it matters. 378 effect, but there are special circumstances where it matters.
379 379
380 You can make trailing whitespace visible on the screen by setting 380 You can make trailing whitespace visible on the screen by setting the
381 the variable @code{show-trailing-whitespace} to @code{t}. Then Emacs 381 buffer-local variable @code{show-trailing-whitespace} to @code{t}. Then
382 displays trailing whitespace in the face @code{trailing-whitespace}. 382 Emacs displays trailing whitespace in the face
383 @code{trailing-whitespace}.
383 384
384 Trailing whitespace is defined as spaces or tabs at the end of a 385 Trailing whitespace is defined as spaces or tabs at the end of a
385 line. But trailing whitespace is not displayed specially if point is 386 line. But trailing whitespace is not displayed specially if point is
386 at the end of the line containing the whitespace. (Doing that looks 387 at the end of the line containing the whitespace. (Doing that looks
387 ugly while you are typing in new text, and the location of point is 388 ugly while you are typing in new text, and the location of point is