aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/progmodes/ruby-mode.el2
2 files changed, 2 insertions, 2 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
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index ab83b977320..df07083eaef 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2259,7 +2259,7 @@ See `font-lock-syntax-table'.")
2259;;;###autoload 2259;;;###autoload
2260(add-to-list 'auto-mode-alist 2260(add-to-list 'auto-mode-alist
2261 (cons (purecopy (concat "\\(?:\\.\\(?:" 2261 (cons (purecopy (concat "\\(?:\\.\\(?:"
2262 "rb\\|ru\\|rake\\|thor" 2262 "rbw?\\|ru\\|rake\\|thor"
2263 "\\|jbuilder\\|rabl\\|gemspec\\|podspec" 2263 "\\|jbuilder\\|rabl\\|gemspec\\|podspec"
2264 "\\)" 2264 "\\)"
2265 "\\|/" 2265 "\\|/"