Skip to content

Commit be281df

Browse files
committed
Added info modes. Drupal Coder Sniffer understands info files as well.
1 parent 72ceba6 commit be281df

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drupal/flymake-phpcs.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; drupal/flymake-phpcs.el --- Drupal-mode support for flymake-phpcs
22

3-
;; Copyright (C) 2012, 2013 Arne Jørgensen
3+
;; Copyright (C) 2012, 2013, 2014 Arne Jørgensen
44

55
;; Author: Arne Jørgensen <[email protected]>
66

@@ -33,8 +33,8 @@
3333
(require 'drupal/phpcs)
3434

3535
(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))
36+
"Enable drupal-mode support for flymake-phpcs."(interactive)
37+
(when (and (apply 'derived-mode-p (append drupal-php-modes drupal-css-modes drupal-js-modes drupal-info-modes))
3838
(executable-find flymake-phpcs-command)
3939
drupal/phpcs-standard)
4040
;; Set the coding standard to "Drupal" (we checked that it is

0 commit comments

Comments
 (0)