changeset 38084:4f75256c6aae

(list-buffers-noselect): Add help-echo to mouse-highlighted text.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 17 Jun 2001 11:28:53 +0000
parents 745b05b3e5ed
children 4adf8e4eebfe
files lisp/buff-menu.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/buff-menu.el	Sun Jun 17 11:25:12 2001 +0000
+++ b/lisp/buff-menu.el	Sun Jun 17 11:28:53 2001 +0000
@@ -548,7 +548,9 @@
                (put-text-property this-buffer-line-start (point)
                                   'buffer buffer)
                (put-text-property this-buffer-line-start name-end
-                                  'mouse-face 'highlight))
+                                  'mouse-face 'highlight)
+               (put-text-property this-buffer-line-start name-end
+                                  'help-echo "mouse-2: select this buffer"))
              (let ((size (format "%8d" this-buffer-size))
                    (mode this-buffer-mode-name)
                    (excess (- (current-column) 17)))