From cded14f2bb643f8df7267431a59a48d5ecd0c354 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Wed, 16 Jan 2019 04:29:35 +0800 Subject: [PATCH] Fix: `pdf-view-current-page' is a macro in an optional dependency. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 09b5ce4..2e78018 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -2044,7 +2044,7 @@ mouse-1: Toggle Debug on Quit" (doom-modeline-def-segment pdf-pages (when (eq major-mode 'pdf-view-mode) (format " P%d/%d " - (pdf-view-current-page) + (eval `(pdf-view-current-page)) (pdf-cache-number-of-pages))))