emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] fill_column_indicator c074f62: display-fill-column-indicat


From: Jimmy Aguilar Mena
Subject: [Emacs-diffs] fill_column_indicator c074f62: display-fill-column-indicator interface corrections
Date: Fri, 5 Apr 2019 06:38:39 -0400 (EDT)

branch: fill_column_indicator
commit c074f628719e9992d2b09c88b03975affaf93beb
Author: Jimmy Aguilar Mena <address@hidden>
Commit: Jimmy Aguilar Mena <address@hidden>

    display-fill-column-indicator interface corrections
---
 etc/NEWS                              |  2 +-
 lisp/cus-start.el                     |  5 +++++
 lisp/display-fill-column-indicator.el | 13 ++++++-------
 3 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 8e65bda..5c5c106 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
 
diff --git a/lisp/cus-start.el b/lisp/cus-start.el
index 3f58eac..b935776 100644
--- a/lisp/cus-start.el
+++ b/lisp/cus-start.el
@@ -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
diff --git a/lisp/display-fill-column-indicator.el 
b/lisp/display-fill-column-indicator.el
index 7c1df53..fa14879 100644
--- a/lisp/display-fill-column-indicator.el
+++ b/lisp/display-fill-column-indicator.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]