aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index d910c816188..047ca54f755 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -7230,7 +7230,7 @@ implementations: `python-mode' and `python-ts-mode'."
7230 (when python-indent-guess-indent-offset 7230 (when python-indent-guess-indent-offset
7231 (python-indent-guess-indent-offset)) 7231 (python-indent-guess-indent-offset))
7232 7232
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(derived-mode-add-parents 'python-ts-mode '(python-mode))