From 051528a52a54b28765a677917e01f282d8739488 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Mon, 13 Aug 2018 23:04:36 +0800 Subject: [PATCH] Fix iedit subst. --- doom-modeline.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doom-modeline.el b/doom-modeline.el index 27b83ff..fa43040 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -845,7 +845,7 @@ Requires `anzu', also `evil-anzu' if using `evil-mode' for compatibility with (defsubst doom-modeline--iedit () "Show the number of iedit regions matches + what match you're on." - (when (and (featurep 'iedit) iedit-mode iedit-occurrences-overlays) + (when (and (bound-and-true-p iedit-mode) (bound-and-true-p iedit-occurrences-overlays)) (propertize (let ((this-oc (or (let ((inhibit-message t)) (iedit-find-current-occurrence-overlay))