Skip to content

Commit 683211c

Browse files
committed
Remove 'flymake-cc from flymake-diagnostic-functions
1 parent 0260bd2 commit 683211c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lisp/php-mode.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1153,6 +1153,8 @@ After setting the stylevars run hooks according to STYLENAME
11531153
"Reset PHP-irrelevant variables set by Cc Mode initialization."
11541154
(setq-local c-mode-hook nil)
11551155
(setq-local java-mode-hook nil)
1156+
(when (eval-when-compile (boundp 'flymake-diagnostic-functions))
1157+
(remove-hook 'flymake-diagnostic-functions 'flymake-cc t))
11561158
t)
11571159

11581160
(defvar php-mode-syntax-table

0 commit comments

Comments
 (0)