Skip to content

Commit

Permalink
Apply patch from RT 77693 / GH #556
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffrey Ryan Thalhammer committed Feb 4, 2014
1 parent 643b813 commit 62a4408
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions extras/perlcritic.el
Original file line number Diff line number Diff line change
Expand Up @@ -650,9 +650,8 @@ require that the perl document exist in a file anywhere."
;; Set it.
(> (prefix-numeric-value arg) 0)))
(make-local-hook 'write-file-hooks)
(if perlcritic-mode
(add-hook 'write-file-hooks 'perlcritic-write-hook)
(add-hook 'write-file-hooks 'perlcritic-write-hook nil "local")
(remove-hook 'write-file-hooks 'perlcritic-write-hook)))
;; Make a nice name for perl critic mode. This string will appear at
Expand Down

0 comments on commit 62a4408

Please sign in to comment.