diff options
| author | Juanma Barranquero | 2019-10-06 20:53:18 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2019-10-06 20:53:18 +0200 |
| commit | 8de2e69f021b5b2920a07d82c9869bb394171d41 (patch) | |
| tree | 34b57d6b999d9ec668044b16627b1d773a24f4e5 /etc | |
| parent | 29db34e3e0cd5be78b7ab4604050c0ba05835414 (diff) | |
| download | emacs-8de2e69f021b5b2920a07d82c9869bb394171d41.tar.gz emacs-8de2e69f021b5b2920a07d82c9869bb394171d41.zip | |
Set alternate faces for some line numbers (bug#27734)
* lisp/faces.el (line-number-major-tick, line-number-minor-tick):
New faces.
* lisp/cus-start.el (display-line-numbers-major-tick)
(display-line-numbers-minor-tick): Add customization info.
* lisp/frame.el: Add `display-line-numbers-major-tick' and
`display-line-numbers-minor-tick' to list of variables which
should trigger redisplay of the current buffer.
* src/xdisp.c (syms_of_xdisp) <display-line-numbers-major-tick>
<display-line-numbers-major-tick>: Defvar new options.
(syms_of_xdisp) <line-number-major-tick, line-number-minor-tick>:
Defsym new faces.
(maybe_produce_line_number): Use new faces for line numbers
that are multiple of `display-line-numbers-major-tick' and
`display-line-numbers-minor-tick'.
* etc/NEWS (value): Announce new feature.
* doc/emacs/display.texi (Display Custom): Describe it. Wording by
Robert Pluim <rpluim@gmail.com>
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -559,6 +559,13 @@ network connection information (in addition to the host name). | |||
| 559 | now prompts the user for the directory containing the desktop file. | 559 | now prompts the user for the directory containing the desktop file. |
| 560 | 560 | ||
| 561 | +++ | 561 | +++ |
| 562 | ** display-line-numbers-mode | ||
| 563 | *** New faces 'line-number-major-tick' and 'line-number-minor-tick', | ||
| 564 | and customizable variables 'display-line-numbers-major-tick' and | ||
| 565 | 'display-line-numbers-minor-tick' can be used to highlight the line | ||
| 566 | numbers of lines multiple of certain numbers. | ||
| 567 | |||
| 568 | +++ | ||
| 562 | ** winner | 569 | ** winner |
| 563 | *** A new variable, 'winner-boring-buffers-regexp', has been added. | 570 | *** A new variable, 'winner-boring-buffers-regexp', has been added. |
| 564 | 571 | ||