Properly remove flymake hooks during deactivation
This commit is contained in:
parent
58e85c8150
commit
74546fa7bb
@ -865,6 +865,12 @@ Checkers checked, in order: `flycheck', `flymake'."
|
||||
(remove-hook 'flycheck-mode-hook
|
||||
#'mood-line--checker-flycheck-update-segment)
|
||||
|
||||
;; Remove flymake hooks
|
||||
(advice-remove 'flymake-start
|
||||
#'mood-line--checker-flymake-update-segment)
|
||||
(advice-remove 'flymake--handle-report
|
||||
#'mood-line--checker-flymake-update-segment)
|
||||
|
||||
;; Remove VC hooks
|
||||
(remove-hook 'file-find-hook
|
||||
#'mood-line--vc-update-segment)
|
||||
|
Loading…
Reference in New Issue
Block a user