Skip to content

Commit eb21f8a

Browse files
committed
Make flycheck-phpcs-standard buffer local, as it should be.
1 parent 8a432e3 commit eb21f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drupal/flycheck.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
(when (and drupal-mode drupal/phpcs-standard)
3434
;; Set the coding standard to "Drupal" (phpcs.el has checked that
3535
;; it's supported).
36-
(setq flycheck-phpcs-standard drupal/phpcs-standard)
36+
(set (make-local-variable 'flycheck-phpcs-standard) drupal/phpcs-standard)
3737

3838
;; Flycheck will also highlight trailing whitespace as an
3939
;; error so no need to highlight it twice.

0 commit comments

Comments
 (0)