diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-13 21:24:12 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-05-13 21:24:12 +0200 |
commit | dea41d4c24d0d33e359cbfe34054d9048761adfd (patch) | |
tree | a9e1f4738e631d62e9f33ef68e4e4699dba3ff10 /lisp/textmodes/string-edit.el | |
parent | 72b5b4194106d38432cd9892bc01e95d71bf75db (diff) | |
download | emacs-dea41d4c24d0d33e359cbfe34054d9048761adfd.tar.gz emacs-dea41d4c24d0d33e359cbfe34054d9048761adfd.tar.bz2 emacs-dea41d4c24d0d33e359cbfe34054d9048761adfd.zip |
Add new minor mode `header-line-indent-mode'
This is mostly factored out from tabulated-list.el (with bugs fixed).
* doc/lispref/modes.texi (Header Lines): Document it.
* lisp/display-line-numbers.el (header-line-indent): New variable.
(header-line-indent--line-number-width)
(header-line-indent--watch-line-number-width)
(header-line-indent--window-scroll-function): New helper functions.
(header-line-indent-mode): New minor mode.
* lisp/display-line-numbers.el (header-line-indent-width): New
variable.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-line-number-width)
(tabulated-list-watch-line-number-width)
(tabulated-list-window-scroll-function): Make into obsolete aliases.
(tabulated-list-mode): Use 'header-line-indent-mode'.
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-init-header):
Adjust the header line format and computation.
* src/buffer.c (syms_of_buffer): Mention header-line-indent-mode.
Diffstat (limited to 'lisp/textmodes/string-edit.el')
0 files changed, 0 insertions, 0 deletions