summaryrefslogtreecommitdiff
path: root/doc/emacs/display.texi
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2020-06-22 14:43:53 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2020-06-22 14:57:24 +0100
commitc37de84845a4e666cadd209470b81c8abaa2fd77 (patch)
tree4266a06ebf2d5052378ae5fe5699cad23b6614ce /doc/emacs/display.texi
parentf61bff3ee9c4e01764825ac62502d81b5b1329d5 (diff)
downloademacs-c37de84845a4e666cadd209470b81c8abaa2fd77.tar.gz
Fix typos and markup in fill column indicator docs
* doc/emacs/display.texi (Displaying Boundaries): Fix typos and Texinfo markup.
Diffstat (limited to 'doc/emacs/display.texi')
-rw-r--r--doc/emacs/display.texi33
1 files changed, 17 insertions, 16 deletions
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