mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-25 07:40:40 -07:00
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)
This commit is contained in:
parent
bb0a5eb41f
commit
35f8629a3f
1 changed files with 2 additions and 2 deletions
|
|
@ -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.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue