aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorAugusto Stoffel2022-09-18 12:53:28 +0200
committerLars Ingebrigtsen2022-09-18 12:53:28 +0200
commit06618e9435a65ff1c3be864d5433ec136c2ffc0e (patch)
treea66e47968f9aab086fbeec56eeebf220ee5c5142 /lisp/progmodes/python.el
parentaf2a25aa19338ed8ce1984eeed25919761b1257e (diff)
downloademacs-06618e9435a65ff1c3be864d5433ec136c2ffc0e.tar.gz
emacs-06618e9435a65ff1c3be864d5433ec136c2ffc0e.zip
Remap 'up-list' in python-mode-map
* lisp/progmodes/python.el (python-mode-map): Remap 'up-list' to 'python-nav-up-list' (bug#57885).
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 6ef468d2cbe..09f94f4b341 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -300,6 +300,7 @@ instead."
300 (define-key map [remap backward-sentence] #'python-nav-backward-block) 300 (define-key map [remap backward-sentence] #'python-nav-backward-block)
301 (define-key map [remap forward-sentence] #'python-nav-forward-block) 301 (define-key map [remap forward-sentence] #'python-nav-forward-block)
302 (define-key map [remap backward-up-list] #'python-nav-backward-up-list) 302 (define-key map [remap backward-up-list] #'python-nav-backward-up-list)
303 (define-key map [remap up-list] #'python-nav-up-list)
303 (define-key map [remap mark-defun] #'python-mark-defun) 304 (define-key map [remap mark-defun] #'python-mark-defun)
304 (define-key map "\C-c\C-j" #'imenu) 305 (define-key map "\C-c\C-j" #'imenu)
305 ;; Indent specific 306 ;; Indent specific