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.
This commit is contained in:
parent
89b0023044
commit
e2150d994a
2 changed files with 5 additions and 2 deletions
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
(defgroup display-line-numbers nil
|
(defgroup display-line-numbers nil
|
||||||
"Display line numbers in the buffer."
|
"Display line numbers in the buffer."
|
||||||
|
:group 'convenience
|
||||||
:group 'display)
|
:group 'display)
|
||||||
|
|
||||||
(defcustom display-line-numbers-type t
|
(defcustom display-line-numbers-type t
|
||||||
|
|
|
@ -2483,7 +2483,8 @@ monospaced font, otherwise line numbers will not line up,
|
||||||
and text lines might move horizontally as you move through
|
and text lines might move horizontally as you move through
|
||||||
the buffer."
|
the buffer."
|
||||||
:version "26.1"
|
:version "26.1"
|
||||||
:group 'basic-faces)
|
:group 'basic-faces
|
||||||
|
:group 'display-line-numbers)
|
||||||
|
|
||||||
(defface line-number-current-line
|
(defface line-number-current-line
|
||||||
'((t :inherit line-number))
|
'((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
|
from that of the `line-number' face could produce such
|
||||||
unwanted effects."
|
unwanted effects."
|
||||||
:version "26.1"
|
:version "26.1"
|
||||||
:group 'basic-faces)
|
:group 'basic-faces
|
||||||
|
:group 'display-line-numbers)
|
||||||
|
|
||||||
(defface escape-glyph
|
(defface escape-glyph
|
||||||
'((((background dark)) :foreground "cyan")
|
'((((background dark)) :foreground "cyan")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue