]> git.eshelyaron.com Git - emacs.git/commit
Prefer defvar-keymap in python.el
authorStefan Kangas <stefankangas@gmail.com>
Sat, 5 Oct 2024 09:50:34 +0000 (11:50 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 6 Oct 2024 06:50:17 +0000 (08:50 +0200)
commit4c45de6f1f6ed486fe7888b0914ae36e683934bc
treecf3cfdaa5ad89b6f8419f5269fa1c23d36549285
parent988e50827852b9ffbee4968d61cc0210a0debd68
Prefer defvar-keymap in python.el

It's okay to use defvar-keymap here since the 'compat' package backports
it for all versions of Emacs that we support (24.4 or later).

* lisp/progmodes/python.el (python-mode-map): Prefer defvar-keymap.
(python-menu): Move to toplevel.

(cherry picked from commit 364801fcd66d8e93a900fd750a998f4590d85397)
lisp/progmodes/python.el