Skip to content

Commit

Permalink
Make flycheck-phpcs-standard buffer local, as it should be.
Browse files Browse the repository at this point in the history
  • Loading branch information
xendk committed Feb 19, 2015
1 parent 8a432e3 commit eb21f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drupal/flycheck.el
Expand Up @@ -33,7 +33,7 @@
(when (and drupal-mode drupal/phpcs-standard)
;; Set the coding standard to "Drupal" (phpcs.el has checked that
;; it's supported).
(setq flycheck-phpcs-standard drupal/phpcs-standard)
(set (make-local-variable 'flycheck-phpcs-standard) drupal/phpcs-standard)

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

0 comments on commit eb21f8a

Please sign in to comment.