]> git.eshelyaron.com Git - emacs.git/commit
cperl-mode: Add new value "PBP" for 'cperl-set-style'
authorHarald Jörg <haj@posteo.de>
Thu, 17 Sep 2020 15:35:04 +0000 (17:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 17 Sep 2020 15:35:11 +0000 (17:35 +0200)
commitf7e68759d033e2a503f47cd7d97b760bd92e375f
treedcf147e9ac085cb64aebfbbaa3e3ad1b33c5110c
parentfa0859fda997962a567bba46f8388a445ed2524f
cperl-mode: Add new value "PBP" for 'cperl-set-style'

* lisp/progmodes/cperl-mode.el (cperl-style-alist)
(cperl-set-style): Add indentation style recommended by Damian Conway's
book "Perl Best Practices".

* test/lisp/progmodes/cperl-mode-tests.el
(cperl-mode-test-indent-styles): Add a test to verify indentation
and unraveling of conditionals (bug#43457).
etc/NEWS
lisp/progmodes/cperl-mode.el
test/lisp/progmodes/cperl-mode-resources/cperl-indent-styles.pl [new file with mode: 0644]
test/lisp/progmodes/cperl-mode-tests.el