]> git.eshelyaron.com Git - emacs.git/commit
Don't use hook pre-redisplay-functions. Set buffer-local tab-line-format.
authorJuri Linkov <juri@linkov.net>
Thu, 5 Sep 2019 19:27:42 +0000 (22:27 +0300)
committerJuri Linkov <juri@linkov.net>
Thu, 5 Sep 2019 19:27:42 +0000 (22:27 +0300)
commit2a0164753456d0f788aa026bdd903ac76519d6ab
treecd1d607d81b73ebba8edcaa9c829cbc1fda2b1a8
parent7970c89c770f475ab67a8de84223e45c5bb23d8c
Don't use hook pre-redisplay-functions.  Set buffer-local tab-line-format.

* lisp/tab-line.el (tab-line-format): Move to C.
(tab-line-update-window-parameter): Remove function.
(global-tab-line-mode): Set the default value of tab-line-format.

* src/buffer.c (syms_of_buffer): Define buffer-local variable
tab-line-format.

* src/buffer.h (struct buffer): Add tab_line_format_.

* src/window.c (window_wants_tab_line):
* src/xdisp.c (pos_visible_p, display_mode_lines):
Check for buffer-local tab_line_format.
lisp/tab-line.el
src/buffer.c
src/buffer.h
src/window.c
src/xdisp.c