* lisp/progmodes/python.el (auto-mode-alist): Add .pyi. (Bug#27847)

This commit is contained in:
Glenn Morris 2017-07-05 15:21:28 -04:00
parent 0fda6d53e3
commit 94b2e1fc00

View file

@ -273,7 +273,7 @@
(autoload 'help-function-arglist "help-fns")
;;;###autoload
(add-to-list 'auto-mode-alist (cons (purecopy "\\.pyw?\\'") 'python-mode))
(add-to-list 'auto-mode-alist (cons (purecopy "\\.py[iw]?\\'") 'python-mode))
;;;###autoload
(add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode))