Skip to content

Commit 3ba088c

Browse files
committed
No need for make-local-variable.
1 parent 58fb25a commit 3ba088c

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
@@ -50,7 +50,6 @@ so no need to highlight it twice."
5050
drupal/phpcs-standard)
5151
;; Set the coding standard to "Drupal" (we checked that it is
5252
;; supported above.
53-
(set (make-local-variable 'flycheck-phpcs-standard) drupal/phpcs-standard)
5453

5554
(when drupal/flycheck-phpcs-js-and-css
5655
(if (and (apply 'derived-mode-p (append drupal-css-modes drupal-js-modes))
@@ -59,6 +58,7 @@ so no need to highlight it twice."
5958
(set (make-local-variable 'flycheck-checker) 'css-js-phpcs)
6059
)
6160
)
61+
(set 'flycheck-phpcs-standard drupal/phpcs-standard)
6262

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

0 commit comments

Comments
 (0)