summaryrefslogtreecommitdiff
blob: ade0206ae77ceae91d2d0f3d947d8bd5884ec99b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
;;; dev-perl/Perl-Critic site-lisp configuration
(add-to-list 'load-path "@SITELISP@")

(autoload 'perlcritic "perlcritic" "" t)
(autoload 'perlcritic-region "perlcritic" "" t)
(autoload 'perlcritic-mode "perlcritic" "" t)

;;; auto-run for cperl-mode and perl-mode
;;
;; (eval-after-load "cperl-mode"
;;  '(add-hook 'cperl-mode-hook 'perlcritic-mode))
;; (eval-after-load "perl-mode"
;;  '(add-hook 'perl-mode-hook 'perlcritic-mode))