]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in tabulated-list-print-entry
authorLeo Liu <sdl.web@gmail.com>
Sun, 10 Apr 2011 14:21:26 +0000 (22:21 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sun, 10 Apr 2011 14:21:26 +0000 (22:21 +0800)
lisp/ChangeLog
lisp/emacs-lisp/tabulated-list.el

index 402b078be7b4c6bcf1fe53551601f8fb711fb0fd..51f8066077db602726ca99bc2d71ec144192d094 100644 (file)
@@ -1,3 +1,8 @@
+2011-04-10  Leo Liu  <sdl.web@gmail.com>
+
+       * emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Fix
+       typo.
+
 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
 
        * image-mode.el (image-toggle-display-image): Signal an error if
index 03ee59dd89c1c32bc0ec97f63373b1945b835870..6409c2206bc8490cb89f8632ce707003eb985437 100644 (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))