diff options
-rw-r--r-- | Misc/python-mode.el | 2 |
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) |