From: Stefan Monnier Date: Sun, 21 Sep 2014 22:00:28 +0000 (-0400) Subject: * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): X-Git-Tag: emacs-25.0.90~2635^2~679^2~262 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=40aef3780404fa6ecfd97f9d0c9abc4bcf99c5f8;p=emacs.git * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Accept underscores in identifiers after "sub". Fixes: debbugs:18502 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ec995c1b406..e726990cacf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-09-21 Stefan Monnier + + * progmodes/perl-mode.el (perl-syntax-propertize-function): + Accept underscores in identifiers after "sub" (bug#18502). + 2014-09-21 Tassilo Horn * textmodes/reftex-sel.el (reftex-select-label-mode) @@ -6491,7 +6496,7 @@ COMMAND-alternatives variable, assign COMMAND as its definition name so that `describe-variable' can relocate it. -2014-01-14 Matthew Leach (tiny change) +2014-01-14 Matthew Leach * font-lock.el (font-lock-keywords): Fix typo in docstring (bug#16307). diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 476a98926e2..b4a96e741b7 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -254,7 +254,7 @@ (1 (prog1 "\"" (perl-syntax-propertize-special-constructs end)))) ;; Funny things in `sub' arg-specs like `sub myfun ($)' or `sub ($)'. ;; Be careful not to match "sub { (...) ... }". - ("\\