summaryrefslogtreecommitdiff
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-09-10 16:46:25 -0400
committerGlenn Morris <rgm@gnu.org>2013-09-10 16:46:25 -0400
commit93ef404dc95f947e1c48000a46968fd252781b9d (patch)
tree58622e5c667e0e06cf11587541b38504f0829d05 /lisp/progmodes/python.el
parent1af4c2203ce7954c089133234ba80e6272ce9458 (diff)
downloademacs-93ef404dc95f947e1c48000a46968fd252781b9d.tar.gz
Tweak previous change
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index bba4453cce8..5eecc347f03 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -225,7 +225,7 @@
;;;###autoload
(add-to-list 'auto-mode-alist (cons (purecopy "\\.py\\'") 'python-mode))
;;;###autoload
-(add-to-list 'interpreter-mode-alist (cons (purecopy "\\`python[23.]*\\'") 'python-mode))
+(add-to-list 'interpreter-mode-alist (cons (purecopy "\\`python[0-9.]*\\'") 'python-mode))
(defgroup python nil
"Python Language's flying circus support for Emacs."