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.
This commit is contained in:
parent
2edfc40a72
commit
dbc090aeab
2 changed files with 2 additions and 2 deletions
|
@ -273,7 +273,7 @@
|
|||
(autoload 'help-function-arglist "help-fns")
|
||||
|
||||
;;;###autoload
|
||||
(add-to-list 'auto-mode-alist (cons (purecopy "\\.py\\'") 'python-mode))
|
||||
(add-to-list 'auto-mode-alist (cons (purecopy "\\.pyw?\\'") 'python-mode))
|
||||
;;;###autoload
|
||||
(add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue