diff options
author | Miles Bader <miles@gnu.org> | 2005-09-11 22:21:01 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2005-09-11 22:21:01 +0000 |
commit | ff8d296438e69b8cf701d95b6ccd271c416c46fd (patch) | |
tree | 44b388101b40592656ad4c5033aabe2a1ae4b462 /lisp/progmodes/perl-mode.el | |
parent | 389cb481135145b80a679beec8cdc8fed75682c5 (diff) | |
parent | a8f6d239d2d541ec874a22000e0542c20fd55a67 (diff) | |
download | emacs-ff8d296438e69b8cf701d95b6ccd271c416c46fd.tar.gz emacs-ff8d296438e69b8cf701d95b6ccd271c416c46fd.tar.bz2 emacs-ff8d296438e69b8cf701d95b6ccd271c416c46fd.zip |
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-81
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 532-541)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 112-115)
- Update from CVS
Diffstat (limited to 'lisp/progmodes/perl-mode.el')
-rw-r--r-- | lisp/progmodes/perl-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 25a414e69d2..cb2ec81f501 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -267,12 +267,12 @@ The expansion is entirely correct because it uses the C preprocessor." ("\\<sub\\s-+\\S-+\\s-*(\\([^)]+\\))" 1 '(1)) ;; regexp and funny quotes ("[?:.,;=!~({[][ \t\n]*\\(/\\)" (1 '(7))) - ("[?:.,;=!~({[ \t\n]\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)" + ("\\(^\\|[?:.,;=!~({[ \t]\\)\\([msy]\\|q[qxrw]?\\|tr\\)\\>\\s-*\\([^])}> \n\t]\\)" ;; Nasty cases: ;; /foo/m $a->m $#m $m @m %m ;; \s (appears often in regexps). ;; -s file - (2 (if (assoc (char-after (match-beginning 2)) + (3 (if (assoc (char-after (match-beginning 3)) perl-quote-like-pairs) '(15) '(7)))) ;; TODO: here-documents ("<<\\(\\sw\\|['\"]\\)") |