aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorGlenn Morris2017-07-05 15:21:28 -0400
committerGlenn Morris2017-07-05 15:21:28 -0400
commit94b2e1fc00f90b4072b4a998caf2054c540b7ac4 (patch)
treee97eb8288503514c62aac17fc9de7662fac17d80 /lisp/progmodes/python.el
parent0fda6d53e38cc7073186fed0bd862221d21500ab (diff)
downloademacs-94b2e1fc00f90b4072b4a998caf2054c540b7ac4.tar.gz
emacs-94b2e1fc00f90b4072b4a998caf2054c540b7ac4.zip
* lisp/progmodes/python.el (auto-mode-alist): Add .pyi. (Bug#27847)
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 464b931cffc..6f169123b95 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -273,7 +273,7 @@
273(autoload 'help-function-arglist "help-fns") 273(autoload 'help-function-arglist "help-fns")
274 274
275;;;###autoload 275;;;###autoload
276(add-to-list 'auto-mode-alist (cons (purecopy "\\.pyw?\\'") 'python-mode)) 276(add-to-list 'auto-mode-alist (cons (purecopy "\\.py[iw]?\\'") 'python-mode))
277;;;###autoload 277;;;###autoload
278(add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode)) 278(add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode))
279 279