summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2002-04-25 21:46:33 (GMT)
committerBarry Warsaw <barry@python.org>2002-04-25 21:46:33 (GMT)
commitcf22c826a68ccf33fa3f093f7dc9da956d69127e (patch)
treed963039a9fdcb8c7d48c58ad019ab0aa7da623c6 /Misc
parent884916112e317d9a590346b7b85199eb7dc98758 (diff)
downloadcpython-cf22c826a68ccf33fa3f093f7dc9da956d69127e.zip
cpython-cf22c826a68ccf33fa3f093f7dc9da956d69127e.tar.gz
cpython-cf22c826a68ccf33fa3f093f7dc9da956d69127e.tar.bz2
Fix typo in the setup of interpreter-mode-alist.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index e9d38e1..aed8df4 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -1149,7 +1149,7 @@ It is added to `interpreter-mode-alist' and `py-choose-shell'.
("python" . python-mode))))
(while modes
(when (not (assoc (car modes) interpreter-mode-alist))
- (push modes interpreter-mode-alist))
+ (push (car modes) interpreter-mode-alist))
(setq modes (cdr modes))))
(when (not (or (rassq 'python-mode auto-mode-alist)