mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
Fix: restore the display of current and total pages in PDF docs
A refactoring spree introduced a bug by incorrectly making a symbol a function. This fixes this.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
;; Custom modeline that removes useless info and adds page numbers
|
||||
(when (featurep! :ui doom-modeline)
|
||||
(load! "+modeline")
|
||||
(add-hook! #'pdf-tools-enabled-hook (doom-set-modeline 'pdf-tools-modeline)))
|
||||
(add-hook! 'pdf-tools-enabled-hook (doom-set-modeline 'pdf-tools-modeline)))
|
||||
;; Handle PDF-tools related popups better
|
||||
(set! :popup "^\\*Outline*" '((side . right) (size . 40)) '((select)))
|
||||
;; TODO: Add additional important windows that should be handled differently
|
||||
|
Reference in New Issue
Block a user