Fix typo in tabulated-list-print-entry

This commit is contained in:
Leo Liu 2011-04-10 22:21:26 +08:00
parent 368f40905f
commit 37f1c9309e
2 changed files with 6 additions and 1 deletions

View file

@ -271,7 +271,7 @@ of column descriptors."
;; Truncate labels if necessary.
(and (> width 6)
(> (length label) width)
(setq label (concat (substring desc 0 (- width 3))
(setq label (concat (substring label 0 (- width 3))
"...")))
(if (stringp desc)
(insert (propertize label 'help-echo help-echo))