Commit 2a016475 authored by Juri Linkov's avatar Juri Linkov

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

* 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.
parent 7970c89c
Pipeline #3061 passed with stage
in 55 minutes and 33 seconds