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:
UndeadKernel 2018-06-12 15:32:39 +02:00
parent a77a967299
commit 99daa9bd43

View file

@ -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