1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix dividers in vtable header lines

* lisp/emacs-lisp/vtable.el (vtable--insert-header-line): Put the
divider in the correct place in the header line.
This commit is contained in:
Lars Ingebrigtsen 2022-04-14 01:56:15 +02:00
parent a96679b742
commit 574ae74caa
2 changed files with 2 additions and 4 deletions

View file

@ -590,12 +590,12 @@ This also updates the displayed table."
name (- (elt widths index) indicator-width))
name)
indicator))
(or (vtable-divider table) "")
(propertize " " 'display
(list 'space :width
(list (+ (- (elt widths index)
(string-pixel-width displayed))
(if last 0 spacer))))))
(if last 0 spacer)))))
(or (vtable-divider table) ""))
(put-text-property start (point) 'vtable-column index)))
(vtable-columns table))
(insert "\n")