We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72ceba6 commit be281dfCopy full SHA for be281df
1 file changed
drupal/flymake-phpcs.el
@@ -1,6 +1,6 @@
1
;;; drupal/flymake-phpcs.el --- Drupal-mode support for flymake-phpcs
2
3
-;; Copyright (C) 2012, 2013 Arne Jørgensen
+;; Copyright (C) 2012, 2013, 2014 Arne Jørgensen
4
5
;; Author: Arne Jørgensen <arne@arnested.dk>
6
@@ -33,8 +33,8 @@
33
(require 'drupal/phpcs)
34
35
(defun drupal/flymake-phpcs-enable ()
36
- "Enable drupal-mode support for flymake-phpcs."
37
- (when (and (apply 'derived-mode-p (append drupal-php-modes drupal-css-modes drupal-js-modes))
+ "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))
38
(executable-find flymake-phpcs-command)
39
drupal/phpcs-standard)
40
;; Set the coding standard to "Drupal" (we checked that it is
0 commit comments