mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
; Fix 'python-ts-mode'
* lisp/progmodes/python.el (python-ts-mode): Fix setting up 'auto-mode-alist'. (Bug#73531)
This commit is contained in:
parent
a8a3f04f8a
commit
c934450d14
1 changed files with 1 additions and 1 deletions
|
|
@ -7219,7 +7219,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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue