diff options
| author | Philipp Stephani | 2020-05-09 10:20:47 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2020-05-09 10:22:01 +0200 |
| commit | d5c184aa3e2a183144efa5f269e2c70d2681aa0a (patch) | |
| tree | 94e45c1e3d399c90083f77f8a20b852cd1e16c3d | |
| parent | e13300ae50f27c16c1d829d25d1114d835b5c047 (diff) | |
| download | emacs-d5c184aa3e2a183144efa5f269e2c70d2681aa0a.tar.gz emacs-d5c184aa3e2a183144efa5f269e2c70d2681aa0a.zip | |
Refer to fill column indicator Info node in some places.
* src/xdisp.c (syms_of_xdisp): Add reference to manual in
documentation strings for variables related to fill column indicators.
* lisp/display-fill-column-indicator.el (display-fill-column-indicator)
(display-fill-column-indicator-mode): Add reference to manual.
| -rw-r--r-- | lisp/display-fill-column-indicator.el | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/display-fill-column-indicator.el b/lisp/display-fill-column-indicator.el index 1b92fa69d29..3f947bdc1c9 100644 --- a/lisp/display-fill-column-indicator.el +++ b/lisp/display-fill-column-indicator.el | |||
| @@ -39,7 +39,8 @@ | |||
| 39 | (defgroup display-fill-column-indicator nil | 39 | (defgroup display-fill-column-indicator nil |
| 40 | "Display a fill column indicator in the buffer." | 40 | "Display a fill column indicator in the buffer." |
| 41 | :group 'convenience | 41 | :group 'convenience |
| 42 | :group 'display) | 42 | :group 'display |
| 43 | :link '(info-link "(emacs)Displaying Boundaries")) | ||
| 43 | 44 | ||
| 44 | 45 | ||
| 45 | ;;;###autoload | 46 | ;;;###autoload |
| @@ -49,7 +50,8 @@ This uses `display-fill-column-indicator' internally. | |||
| 49 | 50 | ||
| 50 | To change the position of the column displayed by default | 51 | To change the position of the column displayed by default |
| 51 | customize `display-fill-column-indicator-column'. You can change the | 52 | customize `display-fill-column-indicator-column'. You can change the |
| 52 | character for the indicator setting `display-fill-column-indicator-character'." | 53 | character for the indicator setting `display-fill-column-indicator-character'. |
| 54 | See Info node `Displaying Boundaries' for details." | ||
| 53 | :lighter nil | 55 | :lighter nil |
| 54 | (if display-fill-column-indicator-mode | 56 | (if display-fill-column-indicator-mode |
| 55 | (progn | 57 | (progn |
diff --git a/src/xdisp.c b/src/xdisp.c index c15dd4770ae..b0fbc9936fb 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -34976,7 +34976,8 @@ It has no effect when set to 0, or when line numbers are not absolute. */); | |||
| 34976 | Fmake_variable_buffer_local (Qdisplay_line_numbers_offset); | 34976 | Fmake_variable_buffer_local (Qdisplay_line_numbers_offset); |
| 34977 | 34977 | ||
| 34978 | DEFVAR_BOOL ("display-fill-column-indicator", Vdisplay_fill_column_indicator, | 34978 | DEFVAR_BOOL ("display-fill-column-indicator", Vdisplay_fill_column_indicator, |
| 34979 | doc: /* Non-nil means display the fill column indicator. */); | 34979 | doc: /* Non-nil means display the fill column indicator. |
| 34980 | See Info node `Displaying Boundaries' for details. */); | ||
| 34980 | Vdisplay_fill_column_indicator = false; | 34981 | Vdisplay_fill_column_indicator = false; |
| 34981 | DEFSYM (Qdisplay_fill_column_indicator, "display-fill-column-indicator"); | 34982 | DEFSYM (Qdisplay_fill_column_indicator, "display-fill-column-indicator"); |
| 34982 | Fmake_variable_buffer_local (Qdisplay_fill_column_indicator); | 34983 | Fmake_variable_buffer_local (Qdisplay_fill_column_indicator); |
| @@ -34985,7 +34986,8 @@ It has no effect when set to 0, or when line numbers are not absolute. */); | |||
| 34985 | doc: /* Column for indicator when `display-fill-column-indicator' is non-nil. | 34986 | doc: /* Column for indicator when `display-fill-column-indicator' is non-nil. |
| 34986 | The default value is t which means that the indicator | 34987 | The default value is t which means that the indicator |
| 34987 | will use the `fill-column' variable. If it is set to an integer the | 34988 | will use the `fill-column' variable. If it is set to an integer the |
| 34988 | indicator will be drawn in that column. */); | 34989 | indicator will be drawn in that column. |
| 34990 | See Info node `Displaying Boundaries' for details. */); | ||
| 34989 | Vdisplay_fill_column_indicator_column = Qt; | 34991 | Vdisplay_fill_column_indicator_column = Qt; |
| 34990 | DEFSYM (Qdisplay_fill_column_indicator_column, "display-fill-column-indicator-column"); | 34992 | DEFSYM (Qdisplay_fill_column_indicator_column, "display-fill-column-indicator-column"); |
| 34991 | Fmake_variable_buffer_local (Qdisplay_fill_column_indicator_column); | 34993 | Fmake_variable_buffer_local (Qdisplay_fill_column_indicator_column); |
| @@ -34993,7 +34995,8 @@ indicator will be drawn in that column. */); | |||
| 34993 | DEFVAR_LISP ("display-fill-column-indicator-character", Vdisplay_fill_column_indicator_character, | 34995 | DEFVAR_LISP ("display-fill-column-indicator-character", Vdisplay_fill_column_indicator_character, |
| 34994 | doc: /* Character to draw the indicator when `display-fill-column-indicator' is non-nil. | 34996 | doc: /* Character to draw the indicator when `display-fill-column-indicator' is non-nil. |
| 34995 | The default is U+2502 but a good alternative is (ascii 124) | 34997 | The default is U+2502 but a good alternative is (ascii 124) |
| 34996 | if the font in fill-column-indicator face does not support Unicode characters. */); | 34998 | if the font in fill-column-indicator face does not support Unicode characters. |
| 34999 | See Info node `Displaying Boundaries' for details. */); | ||
| 34997 | Vdisplay_fill_column_indicator_character = Qnil; | 35000 | Vdisplay_fill_column_indicator_character = Qnil; |
| 34998 | DEFSYM (Qdisplay_fill_column_indicator_character, "display-fill-column-indicator-character"); | 35001 | DEFSYM (Qdisplay_fill_column_indicator_character, "display-fill-column-indicator-character"); |
| 34999 | Fmake_variable_buffer_local (Qdisplay_fill_column_indicator_character); | 35002 | Fmake_variable_buffer_local (Qdisplay_fill_column_indicator_character); |