summaryrefslogtreecommitdiff
path: root/lisp/textmodes/string-edit.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-05-13 21:24:12 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-05-13 21:24:12 +0200
commitdea41d4c24d0d33e359cbfe34054d9048761adfd (patch)
treea9e1f4738e631d62e9f33ef68e4e4699dba3ff10 /lisp/textmodes/string-edit.el
parent72b5b4194106d38432cd9892bc01e95d71bf75db (diff)
downloademacs-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