emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 06618e9435 2/2: Remap 'up-list' in python-mode-map


From: Lars Ingebrigtsen
Subject: master 06618e9435 2/2: Remap 'up-list' in python-mode-map
Date: Sun, 18 Sep 2022 06:54:05 -0400 (EDT)

branch: master
commit 06618e9435a65ff1c3be864d5433ec136c2ffc0e
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remap 'up-list' in python-mode-map
    
    * lisp/progmodes/python.el (python-mode-map): Remap 'up-list' to
    'python-nav-up-list' (bug#57885).
---
 lisp/progmodes/python.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 6ef468d2cb..09f94f4b34 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]