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

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

[nongnu] elpa/drupal-mode 38783166f3 143/308: Check for drupal/flycheck-


From: ELPA Syncer
Subject: [nongnu] elpa/drupal-mode 38783166f3 143/308: Check for drupal/flycheck-phpcs-js-and-css in predicate, now we don't enforce it.
Date: Tue, 25 Jan 2022 10:59:39 -0500 (EST)

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

    Check for drupal/flycheck-phpcs-js-and-css in predicate, now we don't 
enforce it.
---
 drupal/flycheck.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drupal/flycheck.el b/drupal/flycheck.el
index 941680f5ec..6065665cd1 100644
--- a/drupal/flycheck.el
+++ b/drupal/flycheck.el
@@ -80,7 +80,7 @@ See URL `http://pear.php.net/package/PHP_CodeSniffer/'."
     ("\\(?1:.*\\):\\(?2:[0-9]+\\):\\(?3:[0-9]+\\): warning - \\(?4:.*\\)" 
warning))
   :modes '(css-mode js-mode)
   :predicate '(lambda ()
-                (apply 'derived-mode-p (append drupal-php-modes 
drupal-css-modes drupal-js-modes))))
+                (and drupal/flycheck-phpcs-js-and-css (apply 'derived-mode-p 
(append drupal-php-modes drupal-css-modes drupal-js-modes)))))
 (add-to-list 'flycheck-checkers 'css-js-phpcs)
 
 



reply via email to

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