remove defadvice of command-execute, fix #30

This commit is contained in:
codefalling 2016-05-02 11:04:32 +08:00
parent 6ad9b3ca87
commit 15083381ba

View file

@ -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")