From: Barry Warsaw Date: Thu, 25 Apr 2002 21:46:33 +0000 (+0000) Subject: Fix typo in the setup of interpreter-mode-alist. X-Git-Tag: v2.3c1~5791 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cf22c826a68ccf33fa3f093f7dc9da956d69127e;p=thirdparty%2FPython%2Fcpython.git Fix typo in the setup of interpreter-mode-alist. --- diff --git a/Misc/python-mode.el b/Misc/python-mode.el index e9d38e1bb983..aed8df4d85e9 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)