]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 Jul 2014 16:51:35 +0000 (12:51 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 8 Jul 2014 16:51:35 +0000 (12:51 -0400)
commit5e799349fde90ef1ad9c73261ecdac0a11ef57ff
treeefc7bb2f0e2a63b74f3d3fbfcb1723c6316d6e4e
parenta897d1b1febb05b7d45d51351356f25e3c0c0b89
* lisp/progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
(perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
(perl-continuation-line-p): Don't skip over anything else than labels.
Return the previous char.
(perl-calculate-indent): Use syntax-ppss instead of parse-start
and update callers accordingly.  For continuation lines, check the
the case of array hashes.
(perl-backward-to-noncomment): Make it non-interactive.
(perl-backward-to-start-of-continued-exp): Rewrite.
* test/indent/perl.perl: Add indentation pattern for hash-table entries.
lisp/ChangeLog
lisp/progmodes/perl-mode.el
test/ChangeLog
test/indent/perl.perl