diff options
| author | Basil L. Contovounesios | 2020-06-22 14:43:53 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2020-06-22 14:57:24 +0100 |
| commit | c37de84845a4e666cadd209470b81c8abaa2fd77 (patch) | |
| tree | 4266a06ebf2d5052378ae5fe5699cad23b6614ce | |
| parent | f61bff3ee9c4e01764825ac62502d81b5b1329d5 (diff) | |
| download | emacs-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.texi | 33 |
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 |
| 1177 | fill column indicator is a useful functionality specially in | 1177 | fill column indicator is a useful functionality especially in |
| 1178 | prog-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 |
| 1181 | and @code{display-fill-column-indicator-character} to activate the | 1181 | @code{display-fill-column-indicator} and |
| 1182 | indicator and controls how the indicator looks. | 1182 | @code{display-fill-column-indicator-character} to activate the |
| 1183 | indicator and control how it looks, respectively. | ||
| 1183 | 1184 | ||
| 1184 | Alternatively you can type @w{@kbd{M-x display-fill-column-indicator-mode}} | 1185 | Alternatively you can type @w{@kbd{M-x display-fill-column-indicator-mode}} |
| 1185 | or @w{@kbd{M-x global-display-fill-column-indicator-mode}} which enables the | 1186 | or @w{@kbd{M-x global-display-fill-column-indicator-mode}} which |
| 1186 | indicator locally and globally respectively and also chooses the | 1187 | enables the indicator locally or globally, respectively, and also |
| 1187 | character to use if none is set already. It is possible to use the | 1188 | chooses the character to use if none is already set. It is possible |
| 1188 | first one to activate the indicator in a hook or the second one to | 1189 | to use the first one to activate the indicator in a hook and the |
| 1189 | enable it globally. | 1190 | second one to enable it globally. |
| 1190 | 1191 | ||
| 1191 | There are 2 buffer local variables and 1 face to customize this mode: | 1192 | There 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 |
| 1205 | Specifies the character used for the indicator. This character can be | 1206 | Specifies the character used for the indicator. This character can be |
| 1206 | any valid char including unicode ones if the actual font supports | 1207 | any valid character including Unicode ones if the font supports them. |
| 1207 | them. | ||
| 1208 | 1208 | ||
| 1209 | When the mode is enabled through the functions | 1209 | When 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 |
| 1212 | functions check if this variable is @code{non-nil}, otherwise the | 1212 | functions check if this variable is non-@code{nil}, otherwise the |
| 1213 | initialization tries to set it to U+2502 or @samp{|}. | 1213 | initialization 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 |
| 1217 | Specifies the face used to display the indicator. It inherits its | 1217 | Specifies the face used to display the indicator. It inherits its |
| 1218 | default values from shadow but without background color. To change | 1218 | default values from the face @code{shadow} but without background |
| 1219 | the indicator color you need to set only the foreground color of this face. | 1219 | color. To change the indicator color you need only set the foreground |
| 1220 | color of this face. | ||
| 1220 | @end table | 1221 | @end table |
| 1221 | 1222 | ||
| 1222 | @vindex indicate-buffer-boundaries | 1223 | @vindex indicate-buffer-boundaries |