diff options
| author | Vasily Korytov | 2015-11-16 01:32:01 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2015-11-16 01:32:35 +0200 |
| commit | dbc090aeabe2cf80b1ab213b101c58d362a88d12 (patch) | |
| tree | 1e3a2c1fdbe60661ff58818afc07a3fd339664ca /lisp/progmodes/python.el | |
| parent | 2edfc40a72439d0e1b8ccd5ad8d1523e0de601c0 (diff) | |
| download | emacs-dbc090aeabe2cf80b1ab213b101c58d362a88d12.tar.gz emacs-dbc090aeabe2cf80b1ab213b101c58d362a88d12.zip | |
Recognize .rbw and .pyw files (bug#18753)
* lisp/progmodes/python.el (auto-mode-alist):
Recognize .pyw files.
* lisp/progmodes/ruby-mode.el (auto-mode-alist):
Recognize .rbw files.
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 b6f7da65752..20efc5e2b0a 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 "\\.py\\'") 'python-mode)) | 276 | (add-to-list 'auto-mode-alist (cons (purecopy "\\.pyw?\\'") '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 | ||