aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidselect.c
diff options
context:
space:
mode:
authorKonstantin Kharlamov2025-01-21 18:34:54 +0300
committerEli Zaretskii2025-01-25 12:51:27 +0200
commit0514619b2c944ae17fbf649496595c5e866ff785 (patch)
treee91cddb00e554e6a8c318f46ae1fa7ddb6382d7b /src/androidselect.c
parent192355e54af91ad6e7d1343071a749e1ced29400 (diff)
downloademacs-0514619b2c944ae17fbf649496595c5e866ff785.tar.gz
emacs-0514619b2c944ae17fbf649496595c5e866ff785.zip
python-mode: add 'exit' and 'quit' to the list of block-enders
'exit()' and 'quit()' end the current codeflow, there can't be any code past it, similarly to 'return', 'continue', etc. So when calculating indentation for the line next to 'exit()', 'os.exit()', 'os._exit()', 'sys.exit()' and 'quit()', decrease the indentation level. * /lisp/progmodes/python.el (python-rx): Add 'exit()', 'os.exit()', 'os._exit()', 'sys.exit()', 'quit' to the list of block-enders. (Bug#75729)
Diffstat (limited to 'src/androidselect.c')
0 files changed, 0 insertions, 0 deletions