emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/drupal-mode eb21f8aaac 232/308: Make flycheck-phpcs-standa


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode eb21f8aaac 232/308: Make flycheck-phpcs-standard buffer local, as it should be.
Date: Tue, 25 Jan 2022 10:59:50 -0500 (EST)

branch: elpa/drupal-mode
commit eb21f8aaacb9fee6f1139b0bc3e4cc551f8dd1af
Author: Thomas Fini Hansen <xen@xen.dk>
Commit: Thomas Fini Hansen <xen@xen.dk>

    Make flycheck-phpcs-standard buffer local, as it should be.
---
 drupal/flycheck.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drupal/flycheck.el b/drupal/flycheck.el
index 60bfc9c5e2..1f1df697a3 100644
--- a/drupal/flycheck.el
+++ b/drupal/flycheck.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]