Remap 'up-list' in python-mode-map

* lisp/progmodes/python.el (python-mode-map): Remap 'up-list' to
'python-nav-up-list' (bug#57885).
This commit is contained in:
Augusto Stoffel 2022-09-18 12:53:28 +02:00 committed by Lars Ingebrigtsen
parent af2a25aa19
commit 06618e9435

View 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