Skip to content

Commit 0c01867

Browse files
committed
Clean up php+-mode hook to be local. Update changelog for 1.0.5.
1 parent cd2b6fa commit 0c01867

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: Changes

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* flymake-perlcritic.el 1.0.5 (2012-11-06-15:16)
2+
* Add support for php+-mode.
3+
(Contributed by @mgallego.)
4+
15
* flymake-perlcritic.el 1.0.4 (2012-03-28-06:08)
26
* Append flymake-mode enable to php-hook rather than prepend.
37
(Contributed by arnested.)

Diff for: flymake-phpcs.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
;; Author: Sam Graham <libflymake-phpcs-emacs BLAHBLAH illusori.co.uk>
66
;; Maintainer: Sam Graham <libflymake-phpcs-emacs BLAHBLAH illusori.co.uk>
77
;; URL: https://github.com/illusori/emacs-flymake-phpcs
8-
;; Version: 1.0.4
8+
;; Version: 1.0.5
99
;; Package-Requires: ((flymake "0.3"))
1010
;; This program is free software: you can redistribute it and/or modify
1111
;; it under the terms of the GNU General Public License as published by
@@ -74,7 +74,7 @@
7474
'("\\(.*\\):\\([0-9]+\\):\\([0-9]+\\): \\(.*\\)" 1 2 3 4))
7575
(let ((mode-and-masks (flymake-get-file-name-mode-and-masks "example.php")))
7676
(setcar mode-and-masks 'flymake-phpcs-init))
77-
(add-hook 'php+-mode-hook (lambda() (flymake-mode 1)))
77+
(add-hook 'php+-mode-hook (lambda() (flymake-mode 1)) t)
7878
(add-hook 'php-mode-hook (lambda() (flymake-mode 1)) t)))
7979

8080
(provide 'flymake-phpcs)

0 commit comments

Comments
 (0)