]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in the setup of interpreter-mode-alist.
authorBarry Warsaw <barry@python.org>
Thu, 25 Apr 2002 21:46:33 +0000 (21:46 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 25 Apr 2002 21:46:33 +0000 (21:46 +0000)
Misc/python-mode.el

index e9d38e1bb983fc5a3fd082cfb68cb6f6a835f8ed..aed8df4d85e90ad82a40ca30c9d817c557efab06 100644 (file)
@@ -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)