in reply to Re: Perl mode for GNU Emacs
in thread Perl mode for GNU Emacs

Oops .. that's (2) lines:
(global-font-lock-mode 1)
(add-to-list 'auto-mode-alist '("\\.\\(pPLlm\\|xs\\|perl\\)$" . cperl-mode))

Replies are listed 'Best First'.
RE: RE: Re: Perl mode for GNU Emacs
by Anonymous Monk on Mar 07, 2000 at 09:26 UTC
    hi, are u saying that I actually write this in a file called ".emacs" and something is supposed to happen? (global-font-lock-mode 1) (add-to-list 'auto-mode-alist '("\\.\\(pPLlm\\|xs\\|perl\\)$" . cperl-mode)) Can u elaborate any? P
      Yes. Chances are you may already have a ~/.emacs file. But if you don't, create it .. then try to open something with one of those extensions (.pl, .perl, .pm, .xs .. etc)