Commit 94b2e1fc authored by Glenn Morris's avatar Glenn Morris
Browse files

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

parent 0fda6d53
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment