]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/python.el
Recognize .rbw and .pyw files (bug#18753)
[gnu-emacs] / lisp / progmodes / python.el
index b6f7da6575283b778b76f6c78c00ae04b8574af8..20efc5e2b0a4258c3e19684037a8fb427c2d3726 100644 (file)
 (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))