]> git.eshelyaron.com Git - emacs.git/commit
python.el: Fix close paren indentation to match pep8 (Bug#20742)
authorTommi Komulainen <tommi.komulainen@iki.fi>
Fri, 19 Jun 2015 16:53:52 +0000 (18:53 +0200)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 28 Apr 2019 20:45:13 +0000 (16:45 -0400)
commit3fc1d77a43818666542740fc34167c1faee30d5f
treea8500cefdf4d93a4c1d6918c994a0799bdc093be
parent9469d58ebe10b280a89c77ccdc89bd2340766107
python.el: Fix close paren indentation to match pep8 (Bug#20742)

* lisp/progmodes/python.el (python-indent--calculate-indentation):
When opening paren is followed by newline the closing paren should
follow the current indentation.  Otherwise the closing paren should be
aligned with the opening paren.  This fixes the latter case.

Copyright-paperwork-exempt: yes
lisp/progmodes/python.el