diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index eb33c760b64..77e10cf06e0 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -87,8 +87,8 @@ | |||
| 87 | ;;;###autoload | 87 | ;;;###autoload |
| 88 | (add-to-list 'interpreter-mode-alist '("python" . python-mode)) | 88 | (add-to-list 'interpreter-mode-alist '("python" . python-mode)) |
| 89 | ;;;###autoload | 89 | ;;;###autoload |
| 90 | (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode)) | 90 | (add-to-list 'auto-mode-alist (cons (purecopy "\\.py\\'") 'python-mode)) |
| 91 | (add-to-list 'same-window-buffer-names "*Python*") | 91 | (add-to-list 'same-window-buffer-names (purecopy "*Python*")) |
| 92 | 92 | ||
| 93 | ;;;; Font lock | 93 | ;;;; Font lock |
| 94 | 94 | ||