emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 35f8629a3f4: Fix previous page and next page tooltips in doc-view


From: Eli Zaretskii
Subject: master 35f8629a3f4: Fix previous page and next page tooltips in doc-view.el
Date: Sat, 30 Dec 2023 02:42:01 -0500 (EST)

branch: master
commit 35f8629a3f42b1d053cd5c9e6445f0240131be42
Author: Daniel Martín <dmartin@Daniels-MacBook-Pro.local>
Commit: Eli Zaretskii <eliz@gnu.org>

    Fix previous page and next page tooltips in doc-view.el
    
    * lisp/doc-view.el (doc-view-tool-bar-map): Fix toolbar items to go to
    next and previous pages in a document.  (Bug#68018)
---
 lisp/doc-view.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 2fdb49f3e42..c70b60d9f58 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -698,12 +698,12 @@ Typically \"page-%s.png\".")
     (tool-bar-local-item-from-menu 'doc-view-previous-page "last-page"
                                    map doc-view-mode-map :vert-only t
                                    :enable '(> (doc-view-current-page) 1)
-                                   :help "Move to the next page.")
+                                   :help "Move to the previous page.")
     (tool-bar-local-item-from-menu 'doc-view-next-page "next-page"
                                    map doc-view-mode-map :vert-only t
                                    :enable '(< (doc-view-current-page)
                                                (doc-view-last-page-number))
-                                   :help "Move to the last page.")
+                                   :help "Move to the next page.")
     map)
   "Like the default `tool-bar-map', but with additions for DocView.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]