From 88510a8e06a2c21f854d2fef1af5e59904d8ba53 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Fri, 1 Mar 2019 03:23:02 +0700 Subject: [PATCH] Revert "Fix matches segment mirroring across all buffers" --- doom-modeline-segments.el | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/doom-modeline-segments.el b/doom-modeline-segments.el index 01e422e..431a897 100644 --- a/doom-modeline-segments.el +++ b/doom-modeline-segments.el @@ -935,12 +935,7 @@ lines are selected, or the NxM dimensions of a block selection." (with-eval-after-load 'anzu (add-hook 'isearch-mode-end-hook #'anzu--reset-status t) (add-hook 'iedit-mode-end-hook #'anzu--reset-status) - (advice-add #'evil-force-normal-state :after #'anzu--reset-status) - ;; Fix matches segment mirroring across all buffers - (mapc #'make-variable-buffer-local - '(anzu--total-matched anzu--current-position anzu--state - anzu--cached-count anzu--cached-positions anzu--last-command - anzu--last-isearch-string anzu--overflow-p))) + (advice-add #'evil-force-normal-state :after #'anzu--reset-status)) (defsubst doom-modeline--anzu () "Show the match index and total number thereof.