From 645f8a06d828c34a26fd20e0996517bc19d80c40 Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 27 Sep 2024 12:32:37 +0200 Subject: [PATCH] ; Fix bug#73506 --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index d665064d4d6..0399c328ff5 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -7210,7 +7210,7 @@ implementations: `python-mode' and `python-ts-mode'." (when python-indent-guess-indent-offset (python-indent-guess-indent-offset)) - (add-to-list 'auto-mode-alist '(python--auto-mode-alist-regexp . python-ts-mode)) + (add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-ts-mode)) (add-to-list 'interpreter-mode-alist '("python[0-9.]*" . python-ts-mode)))) (derived-mode-add-parents 'python-ts-mode '(python-mode)) -- 2.39.5