diff options
| author | Leo Liu | 2011-04-10 22:21:26 +0800 |
|---|---|---|
| committer | Leo Liu | 2011-04-10 22:21:26 +0800 |
| commit | 37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d (patch) | |
| tree | ada74a7bf82617fd077a2be4375f30dac2caf083 /lisp | |
| parent | 368f40905f551ebaead782b3bb23140661600ae0 (diff) | |
| download | emacs-37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d.tar.gz emacs-37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d.zip | |
Fix typo in tabulated-list-print-entry
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/tabulated-list.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 402b078be7b..51f8066077d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-04-10 Leo Liu <sdl.web@gmail.com> | ||
| 2 | |||
| 3 | * emacs-lisp/tabulated-list.el (tabulated-list-print-entry): Fix | ||
| 4 | typo. | ||
| 5 | |||
| 1 | 2011-04-09 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-04-09 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * image-mode.el (image-toggle-display-image): Signal an error if | 8 | * image-mode.el (image-toggle-display-image): Signal an error if |
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index 03ee59dd89c..6409c2206bc 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el | |||
| @@ -271,7 +271,7 @@ of column descriptors." | |||
| 271 | ;; Truncate labels if necessary. | 271 | ;; Truncate labels if necessary. |
| 272 | (and (> width 6) | 272 | (and (> width 6) |
| 273 | (> (length label) width) | 273 | (> (length label) width) |
| 274 | (setq label (concat (substring desc 0 (- width 3)) | 274 | (setq label (concat (substring label 0 (- width 3)) |
| 275 | "..."))) | 275 | "..."))) |
| 276 | (if (stringp desc) | 276 | (if (stringp desc) |
| 277 | (insert (propertize label 'help-echo help-echo)) | 277 | (insert (propertize label 'help-echo help-echo)) |