[SCM] Debian packaging of libperl-critic-perl branch, master, updated. debian/1.118-1-2-g124c398

Salvatore Bonaccorso carnil at debian.org
Fri Oct 26 13:56:02 UTC 2012


The following commit has been merged in the master branch:
commit 04f8a03f73dc858b655cd36872c856815d52f164
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Fri Oct 26 15:53:20 2012 +0200

    Set up to use conf-mode on the .perlcriticrc file
    
    Thanks: Kevin Ryde <user42 at zip.com.au> and intrigeri <intrigeri at boum.org>
    
    Closes: #672182

diff --git a/debian/emacsen-startup b/debian/emacsen-startup
index 74aa008..b78f2e5 100644
--- a/debian/emacsen-startup
+++ b/debian/emacsen-startup
@@ -12,3 +12,6 @@
   ;; just offered as options
   (custom-add-option 'perl-mode-hook  'perlcritic-mode)
   (custom-add-option 'cperl-mode-hook 'perlcritic-mode))
+
+(if (fboundp 'conf-mode) ;; new in emacs22
+  (add-to-list 'auto-mode-alist '("/\\.perlcriticrc\\'" . conf-mode)))

-- 
Debian packaging of libperl-critic-perl



More information about the Pkg-perl-cvs-commits mailing list