projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fda6d5
)
* lisp/progmodes/python.el (auto-mode-alist): Add .pyi. (Bug#27847)
author
Glenn Morris
<rgm@gnu.org>
Wed, 5 Jul 2017 19:21:28 +0000
(15:21 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Wed, 5 Jul 2017 19:21:28 +0000
(15:21 -0400)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index 464b931cffc64539c57044681225e78be28ee3ec..6f169123b95fba9dfc76fbea9b94ca22969610bb 100644
(file)
--- a/
lisp/progmodes/python.el
+++ b/
lisp/progmodes/python.el
@@
-273,7
+273,7
@@
(autoload 'help-function-arglist "help-fns")
;;;###autoload
-(add-to-list 'auto-mode-alist (cons (purecopy "\\.py
w?\\'")
'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))