diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index a869cdc5fdb..df0d1c96965 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -6715,8 +6715,8 @@ implementations: `python-mode' and `python-ts-mode'." | |||
| 6715 | (when python-indent-guess-indent-offset | 6715 | (when python-indent-guess-indent-offset |
| 6716 | (python-indent-guess-indent-offset)) | 6716 | (python-indent-guess-indent-offset)) |
| 6717 | 6717 | ||
| 6718 | (add-to-list 'auto-mode-alist | 6718 | (add-to-list 'auto-mode-alist '("\\.py[iw]?\\'" . python-ts-mode)) |
| 6719 | '("\\.py[iw]?\\'\\|python[0-9.]*" . python-ts-mode)))) | 6719 | (add-to-list 'interpreter-mode-alist '("python[0-9.]*" . python-ts-mode)))) |
| 6720 | 6720 | ||
| 6721 | ;;; Completion predicates for M-x | 6721 | ;;; Completion predicates for M-x |
| 6722 | ;; Commands that only make sense when editing Python code | 6722 | ;; Commands that only make sense when editing Python code |