From 15083381bae20b48123f13d25c2b31e0af182ea2 Mon Sep 17 00:00:00 2001 From: codefalling Date: Mon, 2 May 2016 11:04:32 +0800 Subject: [PATCH] remove defadvice of command-execute, fix #30 --- mode-icons.el | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mode-icons.el b/mode-icons.el index 2d2d236..85015fa 100644 --- a/mode-icons.el +++ b/mode-icons.el @@ -1719,10 +1719,6 @@ When ENABLE is non-nil, enable the changes to the mode line." "Make `mode-icons' aware of icon." (mode-icons-set-minor-mode-icon)) -(defadvice command-execute (after mode-icons--reset-minor-mode-icons activate) - "Make `mode-icons' aware of any recenty activated minor modes." - (mode-icons-set-minor-mode-icon)) - (eval-after-load 'powerline '(progn (declare-function mode-icons--real-powerline-minor-modes "powerline")