mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-27 19:19:53 +00:00
Fix: `pdf-view-current-page' is a macro in an optional dependency.
This commit is contained in:
parent
a99b3bfe10
commit
cded14f2bb
1 changed files with 1 additions and 1 deletions
|
@ -2044,7 +2044,7 @@ mouse-1: Toggle Debug on Quit"
|
||||||
(doom-modeline-def-segment pdf-pages
|
(doom-modeline-def-segment pdf-pages
|
||||||
(when (eq major-mode 'pdf-view-mode)
|
(when (eq major-mode 'pdf-view-mode)
|
||||||
(format " P%d/%d "
|
(format " P%d/%d "
|
||||||
(pdf-view-current-page)
|
(eval `(pdf-view-current-page))
|
||||||
(pdf-cache-number-of-pages))))
|
(pdf-cache-number-of-pages))))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue