Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a978fb9d43
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.591 kb
;;; starter-kit-perl.el --- Some helpful Perl code
;;
;; Part of the Emacs Starter Kit
(eval-after-load 'cperl-mode
'(progn
(define-key cperl-mode-map (kbd "RET") 'reindent-then-newline-and-indent)
(define-key cperl-mode-map (kbd "C-M-h") 'backward-kill-word)))
(global-set-key (kbd "C-h P") 'perldoc)
(add-to-list 'auto-mode-alist '("\\.p[lm]$" . cperl-mode))
(add-to-list 'auto-mode-alist '("\\.pod$" . pod-mode))
(add-to-list 'auto-mode-alist '("\\.tt$" . tt-mode))
;; TODO: flymake
;; TODO: electric bugaloo
(provide 'starter-kit-perl)
;; starter-kit-perl.el ends here
Jump to Line
Something went wrong with that request. Please try again.