We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0260bd2 commit 683211cCopy full SHA for 683211c
lisp/php-mode.el
@@ -1153,6 +1153,8 @@ After setting the stylevars run hooks according to STYLENAME
1153
"Reset PHP-irrelevant variables set by Cc Mode initialization."
1154
(setq-local c-mode-hook nil)
1155
(setq-local java-mode-hook nil)
1156
+ (when (eval-when-compile (boundp 'flymake-diagnostic-functions))
1157
+ (remove-hook 'flymake-diagnostic-functions 'flymake-cc t))
1158
t)
1159
1160
(defvar php-mode-syntax-table
0 commit comments