emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 e2150d9: Add line-number faces to the display-lin


From: Alexander Gramiak
Subject: [Emacs-diffs] emacs-26 e2150d9: Add line-number faces to the display-line-numbers group
Date: Sun, 8 Oct 2017 20:04:09 -0400 (EDT)

branch: emacs-26
commit e2150d994a66c580ff9fabeed44b8fa5146c7e65
Author: Alexander Gramiak <address@hidden>
Commit: Alexander Gramiak <address@hidden>

    Add line-number faces to the display-line-numbers group
    
    See https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00151.html
    and its resulting thread.
    
    * lisp/display-line-numbers.el (display-line-numbers): Add to the
    convenience group.
    * lisp/faces.el (line-number):
    (line-number-current-line): Add to the display-line-numbers group.
---
 lisp/display-line-numbers.el | 1 +
 lisp/faces.el                | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lisp/display-line-numbers.el b/lisp/display-line-numbers.el
index 3b6b101..15e0427 100644
--- a/lisp/display-line-numbers.el
+++ b/lisp/display-line-numbers.el
@@ -36,6 +36,7 @@
 
 (defgroup display-line-numbers nil
   "Display line numbers in the buffer."
+  :group 'convenience
   :group 'display)
 
 (defcustom display-line-numbers-type t
diff --git a/lisp/faces.el b/lisp/faces.el
index 24ab1fa..a5f1d1d 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2483,7 +2483,8 @@ monospaced font, otherwise line numbers will not line up,
 and text lines might move horizontally as you move through
 the buffer."
   :version "26.1"
-  :group 'basic-faces)
+  :group 'basic-faces
+  :group 'display-line-numbers)
 
 (defface line-number-current-line
   '((t :inherit line-number))
@@ -2497,7 +2498,8 @@ the buffer.  Similarly, making this face's font different
 from that of the `line-number' face could produce such
 unwanted effects."
   :version "26.1"
-  :group 'basic-faces)
+  :group 'basic-faces
+  :group 'display-line-numbers)
 
 (defface escape-glyph
   '((((background dark)) :foreground "cyan")



reply via email to

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