Help for this page

Select Code to Download


  1. or download this
    ;; Use cperl-mode instead of the default perl-mode
    (add-to-list 'auto-mode-alist '("\\.\\([pP][Llm]\\|al\\)\\'" . cperl-m
    +ode))
    (add-to-list 'interpreter-mode-alist '("perl" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("perl5" . cperl-mode))
    (add-to-list 'interpreter-mode-alist '("miniperl" . cperl-mode))
    
  2. or download this
    ;; Turn on paren matching and font-lock for all modes
    (global-font-lock-mode t)
    (show-paren-mode t)