Mercurial > hg > xemacs-beta
comparison lisp/modes/perl-mode.el @ 30:ec9a17fef872 r19-15b98
Import from CVS: tag r19-15b98
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:52:29 +0200 |
parents | 0293115a14e9 |
children | 131b0175ea99 |
comparison
equal
deleted
inserted
replaced
29:7976500f47f9 | 30:ec9a17fef872 |
---|---|
32 ;;; Commentary: | 32 ;;; Commentary: |
33 | 33 |
34 ;; To enter perl-mode automatically, add (autoload 'perl-mode "perl-mode") | 34 ;; To enter perl-mode automatically, add (autoload 'perl-mode "perl-mode") |
35 ;; to your .emacs file and change the first line of your perl script to: | 35 ;; to your .emacs file and change the first line of your perl script to: |
36 ;; #!/usr/bin/perl -- # -*-Perl-*- | 36 ;; #!/usr/bin/perl -- # -*-Perl-*- |
37 ;; With argments to perl: | 37 ;; With arguments to perl: |
38 ;; #!/usr/bin/perl -P- # -*-Perl-*- | 38 ;; #!/usr/bin/perl -P- # -*-Perl-*- |
39 ;; To handle files included with do 'filename.pl';, add something like | 39 ;; To handle files included with do 'filename.pl';, add something like |
40 ;; (setq auto-mode-alist (append (list (cons "\\.pl\\'" 'perl-mode)) | 40 ;; (setq auto-mode-alist (append (list (cons "\\.pl\\'" 'perl-mode)) |
41 ;; auto-mode-alist)) | 41 ;; auto-mode-alist)) |
42 ;; to your .emacs file; otherwise the .pl suffix defaults to prolog-mode. | 42 ;; to your .emacs file; otherwise the .pl suffix defaults to prolog-mode. |