comparison lisp/modes/perl-mode.el @ 70:131b0175ea99 r20-0b30

Import from CVS: tag r20-0b30
author cvs
date Mon, 13 Aug 2007 09:02:59 +0200
parents ec9a17fef872
children c7528f8e288d
comparison
equal deleted inserted replaced
69:804d1389bcd6 70:131b0175ea99
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 arguments to perl: 37 ;; With argments 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.
706 (perl-end-of-function) 706 (perl-end-of-function)
707 (push-mark (point)) 707 (push-mark (point))
708 (perl-beginning-of-function) 708 (perl-beginning-of-function)
709 (backward-paragraph)) 709 (backward-paragraph))
710 710
711 (provide 'perl-mode) 711 ;;;;;;;; That's all, folks! ;;;;;;;;;
712
713 ;;; perl-mode.el ends here