]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix previous page and next page tooltips in doc-view.el
authorDaniel Martín <dmartin@Daniels-MacBook-Pro.local>
Mon, 25 Dec 2023 10:43:39 +0000 (11:43 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Dec 2023 07:41:27 +0000 (09:41 +0200)
* 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

index 2fdb49f3e42ba22df21cf080e85e7dd857bf188a..c70b60d9f58d8b4c608ae71e8e7524c64add8fe3 100644 (file)
@@ -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.")