diff Misc/python-mode.el @ 23278:5f5cea272b46 legacy-trunk

Fix typo in the setup of interpreter-mode-alist.
author Barry Warsaw <barry@python.org>
date Thu, 25 Apr 2002 21:46:33 +0000
parents 314e08e8090f
children 00f66360be19
line wrap: on
line diff
--- a/Misc/python-mode.el	Thu Apr 25 21:31:47 2002 +0000
+++ b/Misc/python-mode.el	Thu Apr 25 21:46:33 2002 +0000
@@ -1149,7 +1149,7 @@
 	       ("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)