diff options
| author | Stefan Kangas | 2025-03-02 05:37:55 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-03-02 05:40:27 +0100 |
| commit | eff5a3e43ba886074c3a2e007a2bced9bcb85f17 (patch) | |
| tree | 12707bbb5402b11f0af5b3e6eaf8c08c7cfec817 | |
| parent | d6dd9dd066e8db665b5c48a4b8fde4db1753e6ad (diff) | |
| download | emacs-eff5a3e43ba886074c3a2e007a2bced9bcb85f17.tar.gz emacs-eff5a3e43ba886074c3a2e007a2bced9bcb85f17.zip | |
Bump python.el requirement to Emacs 26.3
* lisp/progmodes/python.el: Require Emacs 26.3, flymake 1.0 and
project 0.1. (Bug#75526)
| -rw-r--r-- | lisp/progmodes/python.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 047ca54f755..64aca544fc4 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | ;; Author: Fabián E. Gallina <fgallina@gnu.org> | 5 | ;; Author: Fabián E. Gallina <fgallina@gnu.org> |
| 6 | ;; URL: https://github.com/fgallina/python.el | 6 | ;; URL: https://github.com/fgallina/python.el |
| 7 | ;; Version: 0.28 | 7 | ;; Version: 0.28 |
| 8 | ;; Package-Requires: ((emacs "24.4") (compat "29.1.1.0") (seq "2.23")) | 8 | ;; Package-Requires: ((emacs "26.3") (compat "29.1.1.0") (seq "2.23") (project "0.1") (flymake "1.0")) |
| 9 | ;; Maintainer: emacs-devel@gnu.org | 9 | ;; Maintainer: emacs-devel@gnu.org |
| 10 | ;; Created: Jul 2010 | 10 | ;; Created: Jul 2010 |
| 11 | ;; Keywords: languages | 11 | ;; Keywords: languages |
| @@ -7233,7 +7233,8 @@ implementations: `python-mode' and `python-ts-mode'." | |||
| 7233 | (add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-ts-mode)) | 7233 | (add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-ts-mode)) |
| 7234 | (add-to-list 'interpreter-mode-alist '("python[0-9.]*" . python-ts-mode)))) | 7234 | (add-to-list 'interpreter-mode-alist '("python[0-9.]*" . python-ts-mode)))) |
| 7235 | 7235 | ||
| 7236 | (derived-mode-add-parents 'python-ts-mode '(python-mode)) | 7236 | (when (fboundp 'derived-mode-add-parents) ; Emacs 30.1 |
| 7237 | (derived-mode-add-parents 'python-ts-mode '(python-mode))) | ||
| 7237 | 7238 | ||
| 7238 | ;;; Completion predicates for M-x | 7239 | ;;; Completion predicates for M-x |
| 7239 | ;; Commands that only make sense when editing Python code. | 7240 | ;; Commands that only make sense when editing Python code. |