]> git.eshelyaron.com Git - emacs.git/commit
python-info-dedenter-opening-block-positions: Fix to support "bare" match
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 9 Mar 2023 15:24:54 +0000 (17:24 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 9 Mar 2023 15:31:21 +0000 (17:31 +0200)
commit29228e24f20954b93dccef4ac5d704ca31daa80c
treee691567c2a92435c4313774c5478a86bf5eeae2e
parent01b65d442ad681e6fef0db76451e668125a17038
python-info-dedenter-opening-block-positions: Fix to support "bare" match

* lisp/progmodes/python.el
(python-info-dedenter-opening-block-positions): Make the check
stricter.  Require that block starts only at indentation.

* test/lisp/progmodes/python-tests.el
(python-indent-after-bare-match): Another test (bug#62031).
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el