]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/perl-mode.el: Fix handling of s'foo'bar'
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 5 Dec 2020 15:41:03 +0000 (10:41 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 5 Dec 2020 15:41:20 +0000 (10:41 -0500)
commitfc54c835181eb88a748d2fd49b7a4c78b9fe82ee
treedd1ee63450c8b7747cccaadfc4ef90b535c516fc
parentdc39c66d3bb6b1db6af0519659ff154bf6d8a5d1
* lisp/progmodes/perl-mode.el: Fix handling of s'foo'bar'

(perl-syntax-propertize-function): Don't put a syntax-property
on regexp-op delimiters if they're already handled correctly
by the normal syntax tables.
(perl-syntax-propertize-special-constructs): Mark the middle
quote of s'foo'bar' as punctuation.

* test/manual/indent/perl.perl: Add new test cases.
lisp/progmodes/perl-mode.el
test/manual/indent/perl.perl