summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-opt.el
diff options
context:
space:
mode:
authorkobarity <kobarity@gmail.com>2023-06-18 23:47:25 +0900
committerEli Zaretskii <eliz@gnu.org>2023-06-24 15:11:39 +0300
commit9c2cbfa49db96eae95bb40c5fc3ce7f09781a97d (patch)
tree2c894775d3092898b6ef6cd993b66e64256aab8d /lisp/emacs-lisp/byte-opt.el
parent5b7e999e24f6cd446961ac441f69af021528623b (diff)
downloademacs-9c2cbfa49db96eae95bb40c5fc3ce7f09781a97d.tar.gz
emacs-9c2cbfa49db96eae95bb40c5fc3ce7f09781a97d.tar.bz2
emacs-9c2cbfa49db96eae95bb40c5fc3ce7f09781a97d.zip
Fix Python indentation of continuation lines within parens
* lisp/progmodes/python.el (python-indent-context): Add a new indent context `:inside-paren-continuation-line'. (python-indent--calculate-indentation): Use the new indent context. * test/lisp/progmodes/python-tests.el (python-indent-pep8-2) (python-indent-pep8-3) (python-indent-inside-paren-1) (python-indent-inside-paren-2) (python-indent-inside-paren-3) (python-indent-inside-paren-6) (python-indent-after-backslash-2): Change to use the new indent context. (python-indent-inside-paren-8) (python-indent-inside-paren-9): New tests. (Bug#63959)
Diffstat (limited to 'lisp/emacs-lisp/byte-opt.el')
0 files changed, 0 insertions, 0 deletions