summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-07-08 12:51:35 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-07-08 12:51:35 -0400
commit5e799349fde90ef1ad9c73261ecdac0a11ef57ff (patch)
treeefc7bb2f0e2a63b74f3d3fbfcb1723c6316d6e4e /lisp/emacs-lisp
parenta897d1b1febb05b7d45d51351356f25e3c0c0b89 (diff)
downloademacs-5e799349fde90ef1ad9c73261ecdac0a11ef57ff.tar.gz
* 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.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions