aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorkobarity2023-04-16 22:18:39 +0900
committerEli Zaretskii2023-04-22 12:28:37 +0300
commit711e8bc7178d5dd78f4db5c34b2b23f605521fc4 (patch)
treec0098a8c508081e051274b0c6c965cedc23aed2b /exec/exec.c
parent2f013c46f7116d53468de78c00903c87d100bbd9 (diff)
downloademacs-711e8bc7178d5dd78f4db5c34b2b23f605521fc4.tar.gz
emacs-711e8bc7178d5dd78f4db5c34b2b23f605521fc4.zip
Add a new user option in Python mode to improve the indentation
* lisp/progmodes/python.el (python-indent-block-paren-deeper): New user option. (python-indent-context): Add a new context :inside-paren-from-block. (python-indent--calculate-indentation): Modify according to `python-indent-block-paren-deeper' and :inside-paren-from-block. * test/lisp/progmodes/python-tests.el (python-indent-inside-paren-block-1) (python-indent-inside-paren-block-2) (python-indent-inside-paren-block-3) (python-indent-inside-paren-block-4): New tests. (python-indent-inside-paren-5, python-indent-dedenters-8): Modify according to the new context. * etc/NEWS: Document the new user option. (Bug#62696)
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions