root/dotfiles/emacs/xcezx/.emacs.d/conf/init.perl.el @ 12339

Revision 12339, 0.7 kB (checked in by xcezx, 6 years ago)

emacs-users.jp 発足記念と .emacs の整理。

Line 
1;; -*- Mode: Emacs-Lisp ; Coding: utf-8 -*-
2
3(defalias 'perl-mode 'cperl-mode)
4(autoload 'cperl-mode "cperl-mode" nil t)
5(add-to-list 'auto-mode-alist
6             '("\\.\\(cgi\\|[pP][Llm]\\|t\\)\\'" . cperl-mode))
7
8;; perltidy
9;; (autoload 'perltidy "perltidy-mode" nil t)
10;; (autoload 'perltidy-mode "perltidy-mode" nil t)
11;; (eval-after-load "cperl-mode"
12;;   '(add-hook 'cperl-mode-hook 'perltidy-mode))
13(require 'set-perl5lib)
14
15;; For Flymake Perl
16(require 'flymake-perl)
17
18(add-hook 'cperl-mode-hook
19          '(lambda ()
20             (flymake-perl-load)
21             (set-perl5lib)
22             (define-key cperl-mode-map "\M-p" 'cperl-perldoc)))
23
24;; __END__
25
Note: See TracBrowser for help on using the browser.