]> git.eshelyaron.com Git - emacs.git/commitdiff
(archive-summarize-files): Add help-echo to mouse-highlighted text.
authorEli Zaretskii <eliz@gnu.org>
Sun, 17 Jun 2001 11:16:18 +0000 (11:16 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 17 Jun 2001 11:16:18 +0000 (11:16 +0000)
lisp/arc-mode.el

index 4afb71509c7473df7b0717468d06d6a656e2cfe3..e814d4d40c3afe6a3bd2d6a9669872aaeca36640 100644 (file)
@@ -746,9 +746,11 @@ when parsing the archive."
        (let ((text (concat (aref fil 0) "\n")))
          (if archive-lemacs
              ()                        ; out of luck
-           (put-text-property (aref fil 1) (aref fil 2)
-                              'mouse-face 'highlight
-                              text))
+           (add-text-properties
+            (aref fil 1) (aref fil 2)
+            '(mouse-face highlight
+              help-echo "mouse-2: extract this file into a buffer")
+            text))
          text)))
      files)))
   (setq archive-file-list-end (point-marker)))