diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index d98441b5ab8..849679ec501 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -1174,19 +1174,20 @@ right-to-left paragraphs. @findex display-fill-column-indicator-mode @findex global-display-fill-column-indicator-mode Emacs can add an indicator to display a fill column position. The -fill column indicator is a useful functionality specially in -prog-mode to indicate the position of an specific column. +fill column indicator is a useful functionality especially in +@code{prog-mode} to indicate the position of a specific column. - You can set the buffer-local variables @code{display-fill-column-indicator} -and @code{display-fill-column-indicator-character} to activate the -indicator and controls how the indicator looks. + You can set the buffer-local variables +@code{display-fill-column-indicator} and +@code{display-fill-column-indicator-character} to activate the +indicator and control how it looks, respectively. Alternatively you can type @w{@kbd{M-x display-fill-column-indicator-mode}} -or @w{@kbd{M-x global-display-fill-column-indicator-mode}} which enables the -indicator locally and globally respectively and also chooses the -character to use if none is set already. It is possible to use the -first one to activate the indicator in a hook or the second one to -enable it globally. +or @w{@kbd{M-x global-display-fill-column-indicator-mode}} which +enables the indicator locally or globally, respectively, and also +chooses the character to use if none is already set. It is possible +to use the first one to activate the indicator in a hook and the +second one to enable it globally. There are 2 buffer local variables and 1 face to customize this mode: @@ -1203,20 +1204,20 @@ Any other value disables the indicator. The default value is @code{t}. @item display-fill-column-indicator-character @vindex display-fill-column-indicator-character Specifies the character used for the indicator. This character can be -any valid char including unicode ones if the actual font supports -them. +any valid character including Unicode ones if the font supports them. When the mode is enabled through the functions @code{display-fill-column-indicator-mode} or @code{global-display-fill-column-indicator-mode}, the initialization -functions check if this variable is @code{non-nil}, otherwise the -initialization tries to set it to U+2502 or @samp{|}. +functions check if this variable is non-@code{nil}, otherwise the +initialization tries to set it to @code{U+2502} or @samp{|}. @item fill-column-indicator @vindex fill-column-indicator Specifies the face used to display the indicator. It inherits its -default values from shadow but without background color. To change -the indicator color you need to set only the foreground color of this face. +default values from the face @code{shadow} but without background +color. To change the indicator color you need only set the foreground +color of this face. @end table @vindex indicate-buffer-boundaries