File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -1490,14 +1490,12 @@ a completion list."
14901490(defvar php-font-lock-keywords php-font-lock-keywords-3
14911491 " Default expressions to highlight in PHP Mode." )
14921492
1493- (add-to-list 'flymake-allowed-file-name-masks
1494- '(" \\ .php[345s]?\\ '"
1495- php-flymake-php-init
1496- flymake-simple-cleanup
1497- flymake-get-real-file-name))
1498-
1499- (add-to-list 'flymake-err-line-patterns
1500- '(" \\ (Parse\\ |Fatal\\ ) error: \\ (.*?\\ ) in \\ (.*?\\ ) on line \\ ([0-9]+\\ )" 3 4 nil 2 ))
1493+ (add-to-list
1494+ (eval-when-compile
1495+ (if (boundp 'flymake-proc-allowed-file-name-masks )
1496+ 'flymake-proc-allowed-file-name-masks
1497+ 'flymake-allowed-file-name-masks ))
1498+ '(" \\ .php[345s]?\\ '" php-flymake-php-init))
15011499
15021500
15031501(defun php-send-region (start end )
You can’t perform that action at this time.
0 commit comments