]> git.eshelyaron.com Git - emacs.git/commitdiff
Remap 'up-list' in python-mode-map
authorAugusto Stoffel <arstoffel@gmail.com>
Sun, 18 Sep 2022 10:53:28 +0000 (12:53 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 18 Sep 2022 10:53:28 +0000 (12:53 +0200)
* lisp/progmodes/python.el (python-mode-map): Remap 'up-list' to
'python-nav-up-list' (bug#57885).

lisp/progmodes/python.el

index 6ef468d2cbee71e4faa492ec68d44e3c4c01afb0..09f94f4b34105c36076a725dff967a69fa79cac5 100644 (file)
@@ -300,6 +300,7 @@ instead."
     (define-key map [remap backward-sentence] #'python-nav-backward-block)
     (define-key map [remap forward-sentence] #'python-nav-forward-block)
     (define-key map [remap backward-up-list] #'python-nav-backward-up-list)
+    (define-key map [remap up-list] #'python-nav-up-list)
     (define-key map [remap mark-defun] #'python-mark-defun)
     (define-key map "\C-c\C-j" #'imenu)
     ;; Indent specific