summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/tabulated-list.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2022-01-10 22:34:55 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2022-01-10 22:34:55 -0500
commit73b15f45f9369f511985b7b424c1a6cc54b323c2 (patch)
tree81aa29ac8e6a6339a5da256df5fa591357098fe0 /lisp/emacs-lisp/tabulated-list.el
parent4d621ffd30749de93519161c5094e40ee1b08fb6 (diff)
parent99a9b545f09dc78494e62c9dc34c0cdb280b879e (diff)
downloademacs-73b15f45f9369f511985b7b424c1a6cc54b323c2.tar.gz
emacs-73b15f45f9369f511985b7b424c1a6cc54b323c2.tar.bz2
emacs-73b15f45f9369f511985b7b424c1a6cc54b323c2.zip
Merge remote-tracking branch 'origin/emacs-28' into trunk
Diffstat (limited to 'lisp/emacs-lisp/tabulated-list.el')
-rw-r--r--lisp/emacs-lisp/tabulated-list.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el
index 13f610bd230..4a9814b5daf 100644
--- a/lisp/emacs-lisp/tabulated-list.el
+++ b/lisp/emacs-lisp/tabulated-list.el
@@ -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)))