aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBasil L. Contovounesios2020-06-22 14:43:53 +0100
committerBasil L. Contovounesios2020-06-22 14:57:24 +0100
commitc37de84845a4e666cadd209470b81c8abaa2fd77 (patch)
tree4266a06ebf2d5052378ae5fe5699cad23b6614ce
parentf61bff3ee9c4e01764825ac62502d81b5b1329d5 (diff)
downloademacs-c37de84845a4e666cadd209470b81c8abaa2fd77.tar.gz
emacs-c37de84845a4e666cadd209470b81c8abaa2fd77.zip
Fix typos and markup in fill column indicator docs
* doc/emacs/display.texi (Displaying Boundaries): Fix typos and Texinfo markup.
-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.
1174@findex display-fill-column-indicator-mode 1174@findex display-fill-column-indicator-mode
1175@findex global-display-fill-column-indicator-mode 1175@findex global-display-fill-column-indicator-mode
1176 Emacs can add an indicator to display a fill column position. The 1176 Emacs can add an indicator to display a fill column position. The
1177fill column indicator is a useful functionality specially in 1177fill column indicator is a useful functionality especially in
1178prog-mode to indicate the position of an specific column. 1178@code{prog-mode} to indicate the position of a specific column.
1179 1179
1180 You can set the buffer-local variables @code{display-fill-column-indicator} 1180 You can set the buffer-local variables
1181and @code{display-fill-column-indicator-character} to activate the 1181@code{display-fill-column-indicator} and
1182indicator and controls how the indicator looks. 1182@code{display-fill-column-indicator-character} to activate the
1183indicator and control how it looks, respectively.
1183 1184
1184Alternatively you can type @w{@kbd{M-x display-fill-column-indicator-mode}} 1185Alternatively you can type @w{@kbd{M-x display-fill-column-indicator-mode}}
1185or @w{@kbd{M-x global-display-fill-column-indicator-mode}} which enables the 1186or @w{@kbd{M-x global-display-fill-column-indicator-mode}} which
1186indicator locally and globally respectively and also chooses the 1187enables the indicator locally or globally, respectively, and also
1187character to use if none is set already. It is possible to use the 1188chooses the character to use if none is already set. It is possible
1188first one to activate the indicator in a hook or the second one to 1189to use the first one to activate the indicator in a hook and the
1189enable it globally. 1190second one to enable it globally.
1190 1191
1191There are 2 buffer local variables and 1 face to customize this mode: 1192There are 2 buffer local variables and 1 face to customize this mode:
1192 1193
@@ -1203,20 +1204,20 @@ Any other value disables the indicator. The default value is @code{t}.
1203@item display-fill-column-indicator-character 1204@item display-fill-column-indicator-character
1204@vindex display-fill-column-indicator-character 1205@vindex display-fill-column-indicator-character
1205Specifies the character used for the indicator. This character can be 1206Specifies the character used for the indicator. This character can be
1206any valid char including unicode ones if the actual font supports 1207any valid character including Unicode ones if the font supports them.
1207them.
1208 1208
1209When the mode is enabled through the functions 1209When the mode is enabled through the functions
1210@code{display-fill-column-indicator-mode} or 1210@code{display-fill-column-indicator-mode} or
1211@code{global-display-fill-column-indicator-mode}, the initialization 1211@code{global-display-fill-column-indicator-mode}, the initialization
1212functions check if this variable is @code{non-nil}, otherwise the 1212functions check if this variable is non-@code{nil}, otherwise the
1213initialization tries to set it to U+2502 or @samp{|}. 1213initialization tries to set it to @code{U+2502} or @samp{|}.
1214 1214
1215@item fill-column-indicator 1215@item fill-column-indicator
1216@vindex fill-column-indicator 1216@vindex fill-column-indicator
1217Specifies the face used to display the indicator. It inherits its 1217Specifies the face used to display the indicator. It inherits its
1218default values from shadow but without background color. To change 1218default values from the face @code{shadow} but without background
1219the indicator color you need to set only the foreground color of this face. 1219color. To change the indicator color you need only set the foreground
1220color of this face.
1220@end table 1221@end table
1221 1222
1222@vindex indicate-buffer-boundaries 1223@vindex indicate-buffer-boundaries