diff options
author | kobarity <kobarity@gmail.com> | 2023-06-18 23:47:25 +0900 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-06-24 15:11:39 +0300 |
commit | 9c2cbfa49db96eae95bb40c5fc3ce7f09781a97d (patch) | |
tree | 2c894775d3092898b6ef6cd993b66e64256aab8d /lisp/emacs-lisp/byte-opt.el | |
parent | 5b7e999e24f6cd446961ac441f69af021528623b (diff) | |
download | emacs-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