From bbce4eb45b9d5ce32908ed06efc1bdeade7585e5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 17 May 2003 22:38:13 +0000 Subject: [PATCH] (perl-tab-always-indent): Default to tab-always-indent. (perl-end-of-function): Remove unsed var `npos'. --- lisp/progmodes/perl-mode.el | 39 ++++++++++++++----------------------- 1 file changed, 15 insertions(+), 24 deletions(-) diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index b5027ee3841..e01b32034b2 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -1,6 +1,6 @@ ;;; perl-mode.el --- Perl code editing commands for GNU Emacs -;; Copyright (C) 1990, 1994 Free Software Foundation, Inc. +;; Copyright (C) 1990, 1994, 2003 Free Software Foundation, Inc. ;; Author: William F. Mann ;; Maintainer: FSF @@ -257,6 +257,7 @@ The expansion is entirely correct because it uses the C preprocessor." ("\\$ ?{?^?[_a-zA-Z][_a-zA-Z0-9]*\\('\\)[_a-zA-Z]" (1 "_")) ;; format statements ("^[ \t]*format.*=[ \t]*\\(\n\\)" (1 '(7))) + ;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)") ;; Funny things in sub arg specifications like `sub myfunc ($$)' ("\\ arg 0) (< (point) (point-max))) - (let ((pos (point)) npos) + (let ((pos (point))) (while (progn (if (and first (progn -- 2.39.2