From b2285954c6255f49998cd58b1ea4de2398152177 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 1 Jul 2018 02:26:13 +0800 Subject: [PATCH] Fix anzu. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 7e3a06d..139adf8 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -678,10 +678,10 @@ lines are selected, or the NxM dimensions of a block selection." "Show the match index and total number thereof. Require `anzu', also `evil-anzu' if using `evil-mode' for compatibility with `evil-search'." + (setq anzu-cons-mode-line-p nil) (when (and (featurep 'anzu) anzu--state (not (bound-and-true-p iedit-mode))) - (setq anzu-cons-mode-line-p nil) (propertize (let ((here anzu--current-position) (total anzu--total-matched))