Created
March 29, 2013 06:25
-
-
Save miyagawa/5269087 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Perl mode | |
(autoload 'cperl-mode "cperl-mode" "alternate mode for editing perl script." t) | |
(autoload 'perl-mode "perl-mode" "Edit perl script." t) | |
(setq auto-mode-alist | |
(append '(("cpanfile$\\|\\.\\([pP][Llm]\\|al\\|t\\|psgi\\)$" . cperl-mode) | |
("\\.cgi$" . cperl-mode)) auto-mode-alist )) | |
;;; cperl-mode | |
(custom-set-variables | |
'(indent-tabs-mode nil)) | |
(setq cperl-auto-newline t) | |
(setq cperl-indent-parens-as-block t) | |
(setq cperl-close-paren-offset -4) | |
(setq cperl-indent-level 4) | |
(setq cperl-label-offset -4) | |
;(setq cperl-electric-parens t) | |
(setq cperl-continued-statement-offset 2) | |
; (setq cperl-invalid-face nil) | |
(setq cperl-highlight-variables-indiscriminately t) | |
(setq cperl-indent-subs-specially nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment