branch: elpa/drupal-mode
commit 230e579786bbd5518ee99b82d8a5a1151a9c2c53
Author: Arne Jørgensen <[email protected]>
Commit: Arne Jørgensen <[email protected]>

    Removed flymake-phpcs from `drush-make-mode' files.
---
 drupal/flymake-phpcs.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drupal/flymake-phpcs.el b/drupal/flymake-phpcs.el
index 0aa073ca34..8ace702ecc 100644
--- a/drupal/flymake-phpcs.el
+++ b/drupal/flymake-phpcs.el
@@ -62,6 +62,7 @@ file (and thus on the remote machine), or in the same place as
 (defun drupal/flymake-phpcs-enable ()
   "Enable drupal-mode support for flymake-phpcs."(interactive)
   (when (and (apply 'derived-mode-p (append drupal-php-modes drupal-css-modes 
drupal-js-modes drupal-info-modes))
+             (not (derived-mode-p 'drush-make-mode))
              (executable-find flymake-phpcs-command)
              drupal/phpcs-standard)
     ;; Set the coding standard to "Drupal" (we checked that it is

Reply via email to