aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorStefan Kangas2024-09-21 14:07:29 +0200
committerStefan Kangas2024-09-21 14:08:09 +0200
commit29a760711731ce49965079e72d76b26ef3b7bcb4 (patch)
tree9694795372b48c4e710d5c19b6966bd3ee0a464e /lisp/progmodes/python.el
parentdfecd6037d5ebe5778c40ff7b38bfcbaa3ef779e (diff)
downloademacs-29a760711731ce49965079e72d76b26ef3b7bcb4.tar.gz
emacs-29a760711731ce49965079e72d76b26ef3b7bcb4.zip
Add subword-mode toggle to python-mode menu
* lisp/progmodes/python.el (python-mode-map): Add subword-mode toggle to menu.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 5f85fecf016..0bf8b0c9e73 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -420,6 +420,11 @@ To customize the Python interpreter for interactive use, modify
420 :help "Sort the import statements at the top of this buffer"] 420 :help "Sort the import statements at the top of this buffer"]
421 ["Fix imports" python-fix-imports 421 ["Fix imports" python-fix-imports
422 :help "Add missing imports and remove unused ones from the current buffer"] 422 :help "Add missing imports and remove unused ones from the current buffer"]
423 "-----"
424 ("Toggle..."
425 ["Subword Mode" subword-mode
426 :style toggle :selected subword-mode
427 :help "Toggle subword movement and editing mode"])
423 )) 428 ))
424 map) 429 map)
425 "Keymap for `python-mode'.") 430 "Keymap for `python-mode'.")