diff options
| author | Jonas Bernoulli | 2013-02-15 18:50:44 -0800 |
|---|---|---|
| committer | Glenn Morris | 2013-02-15 18:50:44 -0800 |
| commit | 6b6d804b1e278b465ba778bbd10bb008dfe13b21 (patch) | |
| tree | 52400f36ce15940da038a5116bc268605c918cff | |
| parent | fe2219e20272be72e5c4e8996d531af5489f1002 (diff) | |
| download | emacs-6b6d804b1e278b465ba778bbd10bb008dfe13b21.tar.gz emacs-6b6d804b1e278b465ba778bbd10bb008dfe13b21.zip | |
* emacs-lisp/tabulated-list.el (tabulated-list-print-col):
If col-desc already has help-echo, use it.
Fixes: debbugs:13563
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/tabulated-list.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b932054261d..d9e6a3eb5b4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-02-16 Jonas Bernoulli <jonas@bernoul.li> | ||
| 2 | |||
| 3 | * emacs-lisp/tabulated-list.el (tabulated-list-print-col): | ||
| 4 | If col-desc already has help-echo, use it. (Bug#13563) | ||
| 5 | |||
| 1 | 2013-02-16 Glenn Morris <rgm@gnu.org> | 6 | 2013-02-16 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * image.el (image-current-frame): New variable. | 8 | * image.el (image-current-frame): New variable. |
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index 94b3c1553e5..da487e463e2 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el | |||
| @@ -379,7 +379,9 @@ Return the column number after insertion." | |||
| 379 | (setq width (- width shift)) | 379 | (setq width (- width shift)) |
| 380 | (setq x (+ x shift)))) | 380 | (setq x (+ x shift)))) |
| 381 | (if (stringp col-desc) | 381 | (if (stringp col-desc) |
| 382 | (insert (propertize label 'help-echo help-echo)) | 382 | (insert (if (get-text-property 0 'help-echo label) |
| 383 | label | ||
| 384 | (propertize label 'help-echo help-echo))) | ||
| 383 | (apply 'insert-text-button label (cdr col-desc))) | 385 | (apply 'insert-text-button label (cdr col-desc))) |
| 384 | (let ((next-x (+ x pad-right width))) | 386 | (let ((next-x (+ x pad-right width))) |
| 385 | ;; No need to append any spaces if this is the last column. | 387 | ;; No need to append any spaces if this is the last column. |