Adapt tabulated list when display-line-number is turned on
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Add a hook to revert the display when display-line-numbers is turned on. (Bug#27895)
This commit is contained in:
parent
8cc8ad02bd
commit
a955d79516
1 changed files with 3 additions and 1 deletions
|
@ -628,7 +628,9 @@ as the ewoc pretty-printer."
|
|||
(setq-local glyphless-char-display tabulated-list-glyphless-char-display)
|
||||
;; Avoid messing up the entries' display just because the first
|
||||
;; column of the first entry happens to begin with a R2L letter.
|
||||
(setq bidi-paragraph-direction 'left-to-right))
|
||||
(setq bidi-paragraph-direction 'left-to-right)
|
||||
;; This is for if/when they turn on display-line-numbers
|
||||
(add-hook 'display-line-numbers-mode-hook #'tabulated-list-revert nil t))
|
||||
|
||||
(put 'tabulated-list-mode 'mode-class 'special)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue