Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 21 lines (15 sloc) 0.591 kb
38dc764 @genehack starter-kit-perl added
genehack authored
1 ;;; starter-kit-perl.el --- Some helpful Perl code
2 ;;
3 ;; Part of the Emacs Starter Kit
4
5 (eval-after-load 'cperl-mode
6 '(progn
7 (define-key cperl-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
8 (define-key cperl-mode-map (kbd "C-M-h") 'backward-kill-word)))
9
10 (global-set-key (kbd "C-h P") 'perldoc)
11
a4bd054 @technomancy Whoa; don't assume .cgi is perl.
authored
12 (add-to-list 'auto-mode-alist '("\\.p[lm]$" . cperl-mode))
38dc764 @genehack starter-kit-perl added
genehack authored
13 (add-to-list 'auto-mode-alist '("\\.pod$" . pod-mode))
14 (add-to-list 'auto-mode-alist '("\\.tt$" . tt-mode))
15
16 ;; TODO: flymake
17 ;; TODO: electric bugaloo
18
19 (provide 'starter-kit-perl)
20 ;; starter-kit-perl.el ends here
Something went wrong with that request. Please try again.