From: Stefan Kangas Date: Sat, 21 Sep 2024 12:07:29 +0000 (+0200) Subject: Add subword-mode toggle to python-mode menu X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a437299440e17f476ed4be43bff29dc08769731f;p=emacs.git Add subword-mode toggle to python-mode menu * lisp/progmodes/python.el (python-mode-map): Add subword-mode toggle to menu. (cherry picked from commit 29a760711731ce49965079e72d76b26ef3b7bcb4) --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 76c9cbb77a7..cd8befdb1d5 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -420,6 +420,11 @@ To customize the Python interpreter for interactive use, modify :help "Sort the import statements at the top of this buffer"] ["Fix imports" python-fix-imports :help "Add missing imports and remove unused ones from the current buffer"] + "-----" + ("Toggle..." + ["Subword Mode" subword-mode + :style toggle :selected subword-mode + :help "Toggle subword movement and editing mode"]) )) map) "Keymap for `python-mode'.")