]> git.eshelyaron.com Git - emacs.git/commitdiff
* bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
authorRomain Francoise <romain@orebokech.com>
Tue, 18 Oct 2005 18:29:11 +0000 (18:29 +0000)
committerRomain Francoise <romain@orebokech.com>
Tue, 18 Oct 2005 18:29:11 +0000 (18:29 +0000)
(bookmark-bmenu-hide-filenames): Improve help-echo text.

lisp/ChangeLog
lisp/bookmark.el

index 90638b823db58928191465c542039b50b6c03281..da7c176525535984c0012c3e11602c37e35bb039 100644 (file)
@@ -14,6 +14,7 @@
 
        * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
        (bookmark-bmenu-hide-filenames): Add follow-link property.
+       Improve help-echo text.
 
        * ffap.el (find-file-at-point): Doc fix.
 
index 0ad70f6e3a79cb9d02ff1b28beace23d89d75f2b..75228288fff415dddc110fcb9622c7dbf9342455 100644 (file)
@@ -1175,13 +1175,14 @@ minibuffer history list `bookmark-history'."
     (prog1
        (insert (bookmark-location bookmark)) ; *Return this line*
       (if (and (display-color-p) (display-mouse-p))
-         (add-text-properties start
-                              (save-excursion (re-search-backward
-                                               "[^ \t]")
+         (add-text-properties
+          start
+          (save-excursion (re-search-backward
+                           "[^ \t]")
                                               (1+ (point)))
-                              '(mouse-face highlight
-                                follow-link t
-                                help-echo "mouse-2: go to this bookmark"))))))
+          '(mouse-face highlight
+            follow-link t
+            help-echo "mouse-2: go to this bookmark in other window"))))))
 
 ;;;###autoload
 (defalias 'bookmark-locate 'bookmark-insert-location)
@@ -1567,13 +1568,14 @@ deletion, or > if it is flagged for displaying."
         (let ((start (point)))
           (insert (bookmark-name-from-full-record full-record))
           (if (and (display-color-p) (display-mouse-p))
-              (add-text-properties start
-                                   (save-excursion (re-search-backward
-                                                    "[^ \t]")
-                                                   (1+ (point)))
-                                   '(mouse-face highlight
-                                     follow-link t
-                                     help-echo "mouse-2: go to this bookmark")))
+              (add-text-properties
+               start
+               (save-excursion (re-search-backward
+                                "[^ \t]")
+                               (1+ (point)))
+               '(mouse-face highlight
+                 follow-link t
+                 help-echo "mouse-2: go to this bookmark in other window")))
           (insert "\n")
           )))
      bookmark-alist))
@@ -1697,14 +1699,15 @@ Optional argument SHOW means show them unconditionally."
                (let ((start (point)))
                  (insert (car bookmark-bmenu-hidden-bookmarks))
                  (if (and (display-color-p) (display-mouse-p))
-                     (add-text-properties start
-                                          (save-excursion (re-search-backward
-                                                           "[^ \t]")
-                                                          (1+ (point)))
-                                          '(mouse-face highlight
-                                            follow-link t
-                                            help-echo
-                                            "mouse-2: go to this bookmark"))))
+                     (add-text-properties
+                      start
+                      (save-excursion (re-search-backward
+                                       "[^ \t]")
+                                      (1+ (point)))
+                      '(mouse-face highlight
+                        follow-link t
+                        help-echo
+                        "mouse-2: go to this bookmark in other window"))))
                 (setq bookmark-bmenu-hidden-bookmarks
                       (cdr bookmark-bmenu-hidden-bookmarks))
                 (forward-line 1))))))))