Skip to content

Commit 62a4408

Browse files
author
Jeffrey Ryan Thalhammer
committed
Apply patch from RT 77693 / GH Perl-Critic#556
1 parent 643b813 commit 62a4408

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

extras/perlcritic.el

+1-2
Original file line numberDiff line numberDiff line change
@@ -650,9 +650,8 @@ require that the perl document exist in a file anywhere."
650650
;; Set it.
651651
(> (prefix-numeric-value arg) 0)))
652652
653-
(make-local-hook 'write-file-hooks)
654653
(if perlcritic-mode
655-
(add-hook 'write-file-hooks 'perlcritic-write-hook)
654+
(add-hook 'write-file-hooks 'perlcritic-write-hook nil "local")
656655
(remove-hook 'write-file-hooks 'perlcritic-write-hook)))
657656
658657
;; Make a nice name for perl critic mode. This string will appear at

0 commit comments

Comments
 (0)