diff options
| author | Glenn Morris | 2017-07-05 15:21:28 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-07-05 15:21:28 -0400 |
| commit | 94b2e1fc00f90b4072b4a998caf2054c540b7ac4 (patch) | |
| tree | e97eb8288503514c62aac17fc9de7662fac17d80 /lisp/progmodes/python.el | |
| parent | 0fda6d53e38cc7073186fed0bd862221d21500ab (diff) | |
| download | emacs-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.el | 2 |
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 | ||