1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 15:00:42 -08:00
emacs/lisp/progmodes
Konstantin Kharlamov 0514619b2c 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)
2025-01-25 12:51:27 +02:00
..
antlr-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
asm-mode.el (asm-mode): Fix bug#75542 2025-01-16 17:18:24 -05:00
autoconf.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
bat-mode.el Prefer defvar-keymap in bat-mode.el 2025-01-20 18:32:33 +01:00
bug-reference.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
c-ts-common.el Improve doxygen font-lock rules in c-ts-mode (bug#75012) 2025-01-03 23:38:32 -08:00
c-ts-mode.el Use treesit-query-first-valid in c-ts-mode 2025-01-17 17:27:23 -08:00
cc-align.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-awk.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-bytecomp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-cmds.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-defs.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-engine.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-fonts.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-guess.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-langs.el Add keywords var and final to Java Mode 2025-01-08 14:07:36 +00:00
cc-menus.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-styles.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cc-vars.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cfengine.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cl-font-lock.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cmacexp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cmake-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
compile.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cperl-mode.el Merge from origin/emacs-30 2025-01-18 07:46:34 -05:00
cpp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
csharp-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cwarn.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dcl-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
dockerfile-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-abn.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-bnf.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-dtd.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-ebx.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-iso.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-otz.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf-yac.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebnf2ps.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ebrowse.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eglot.el Eglot: fix edebug spec of eglot--dbind 2025-01-22 23:07:28 +00:00
elisp-mode.el Merge from origin/emacs-30 2025-01-04 09:59:52 -05:00
elixir-ts-mode.el Merge from origin/emacs-30 2025-01-04 09:59:52 -05:00
erts-mode.el Prefer defface's ':weight bold' to obsolete alias ':bold t' 2025-01-21 09:29:09 +01:00
etags-regen.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
etags.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
executable.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
f90.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake-cc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake-proc.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
flymake.el Flymake: fix bug introduced recently 2025-01-17 10:58:15 +00:00
fortran.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gdb-mi.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
glasses.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
go-ts-mode.el Merge from origin/emacs-30 2025-01-11 07:44:23 -05:00
grep.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
gud.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
heex-ts-mode.el Merge from origin/emacs-30 2025-01-04 09:59:55 -05:00
hideif.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
hideshow.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
icon.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
inf-lisp.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
java-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
js.el Use the treesit thing 'list' with symbol property 'treesit-thing-symbol' 2025-01-10 09:33:49 +02:00
json-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ld-script.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lua-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
m4-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
make-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
meta-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
mixal-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
modula2.el Don't start docstrings with "This function" or similar 2024-12-26 21:02:45 +01:00
octave.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
opascal.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
pascal.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
peg.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
perl-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
php-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
prog-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
project.el Merge from origin/emacs-30 2025-01-04 09:59:52 -05:00
prolog.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
ps-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
python.el python-mode: add 'exit' and 'quit' to the list of block-enders 2025-01-25 12:51:27 +02:00
ruby-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
ruby-ts-mode.el Use the treesit thing 'list' with symbol property 'treesit-thing-symbol' 2025-01-10 09:33:49 +02:00
rust-ts-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
scheme.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sh-script.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
simula.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sql.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
subword.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tcl.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
typescript-ts-mode.el * lisp/progmodes/typescript-ts-mode.el: Fix syntax of tsx tags. 2025-01-11 19:39:56 +02:00
vera-mode.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
verilog-mode.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
vhdl-mode.el Prefer defface's ':slant italic' to obsolete alias ':italic t' 2025-01-21 09:56:59 +01:00
which-func.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xref.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xscheme.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00