]> git.eshelyaron.com Git - emacs.git/commit
Fix subtle problems in tabulated-list-mode with line numbers
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Nov 2017 14:28:25 +0000 (16:28 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 Nov 2017 14:28:25 +0000 (16:28 +0200)
commit93818eed8ab9840095911be7b0ca0f2104320ea0
tree02b6f76e64fa8d9513027f09e4d24b0c6572341a
parent1f1de8e872282a12c3c17315c54d99026af32db9
Fix subtle problems in tabulated-list-mode with line numbers

* lisp/emacs-lisp/tabulated-list.el
(tabulated-list-watch-line-number-width): Call
tabulated-list-init-header instead of tabulated-list-revert.
(tabulated-list-window-scroll-function): New function.
(tabulated-list-mode): Put 'tabulated-list-window-scroll-function'
on the buffer-local 'window-scroll-functions' list.
lisp/emacs-lisp/tabulated-list.el