Commit c074f628 authored by Jimmy Aguilar Mena's avatar Jimmy Aguilar Mena

display-fill-column-indicator interface corrections

parent 61e78a16
Pipeline #1166 failed with stage
in 60 minutes and 1 second
......@@ -308,7 +308,7 @@ longer.
This is similar to what 'fill-column-indicator' package provides, but
much faster and compatible with show-trailing-whitespace.
Customize the buffer-local variables 'display-fill-column-indicator'
Customize the buffer-local variables 'display-fill-column-indicator-mode'
and 'display-fill-column-indicator-character' to activate the
indicator.
......
......@@ -649,6 +649,11 @@ since it could result in memory overflow and make Emacs crash."
:value nil))
"26.1")
(display-fill-column-indicator display-fill-column-indicator
(choice
(const :tag "Off (nil)" :value nil)
(const :tag "On (t)" :value t))
"27.1")
(display-fill-column-indicator-column display-fill-column-indicator
integer "27.1")
(display-fill-column-indicator-character display-fill-column-indicator
......
......@@ -24,10 +24,9 @@
;; Provides a minor mode interface for `display-fill-column-indicator'.
;;
;; Toggle display of line numbers with M-x
;; display-fill-column-indicator-mode. To enable line numbering in
;; all buffers, use M-x global-display-fill-column-indicator-mode. To
;; change the default line column
;; Toggle display of the column indicator with M-x
;; display-fill-column-indicator-mode. To enable the indicator in
;; all buffers, use M-x global-display-fill-column-indicator-mode.
;; NOTE: Customization variables for
......@@ -38,7 +37,7 @@
;;; Code:
(defgroup display-fill-column-indicator nil
"Display line numbers in the buffer."
"Display a fill column indicator in th buffer."
:group 'convenience
:group 'display)
......@@ -48,9 +47,9 @@
"Toggle display fill column indicator.
This uses `display-fill-column-indicator' internally.
To change the position of the line displayed by default,
To change the position of the column displayed by default,
customize `display-fill-column-indicator-column' you can change the
character for the line setting `display-fill-column-indicator-character'."
character for the indicator setting `display-fill-column-indicator-character'."
:lighter nil
(if display-fill-column-indicator-mode
(progn
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment