We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a90bbf commit 5834268Copy full SHA for 5834268
php-mode.el
@@ -1065,7 +1065,8 @@ After setting the stylevars run hooks according to STYLENAME
1065
(when php-mode--delayed-set-style
1066
(let ((coding-style (or (and (boundp 'php-project-coding-style) php-project-coding-style)
1067
php-mode-coding-style)))
1068
- (prog1 (php-set-style (symbol-name coding-style))
+ (prog1 (when coding-style
1069
+ (php-set-style (symbol-name coding-style)))
1070
(remove-hook 'hack-local-variables-hook #'php-mode-set-style-delay)))))
1071
1072
(defvar php-mode-syntax-table
0 commit comments