1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Merge remote-tracking branch 'origin/emacs-28' into trunk

This commit is contained in:
Stefan Monnier 2022-01-10 22:34:55 -05:00
commit 73b15f45f9
6 changed files with 39 additions and 33 deletions

View file

@ -596,8 +596,7 @@ Return the column number after insertion."
(when not-last-col
(when (> pad-right 0) (insert (make-string pad-right ?\s)))
(insert (propertize
;; We need at least one space to align correctly.
(make-string (- width (min 1 width label-width)) ?\s)
(make-string (- width (min width label-width)) ?\s)
'display `(space :align-to ,next-x))))
(put-text-property opoint (point) 'tabulated-list-column-name name)
next-x)))