Mercurial > emacs
diff lisp/progmodes/python.el @ 105798:0ad1fc06bfc8
* puresize.h (BASE_PURESIZE): Increase to 1470000.
* lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.
* textmodes/ispell.el (ispell-skip-region-alist):
* international/mule-conf.el (eight-bit):
* international/fontset.el (font-encoding-alist):
* startup.el (pure-space-overflow-message):
* simple.el (overwrite-mode-textual, overwrite-mode-binary):
* paths.el (gnus-nntp-service, rmail-spool-directory)
(term-file-prefix):
* files.el (save-some-buffers-action-alist):
* cmuscheme.el (same-window-buffer-names):
* ielm.el (same-window-buffer-names):
* shell.el (same-window-buffer-names):
* mail/sendmail.el (same-window-buffer-names):
* progmodes/inf-lisp.el (same-window-buffer-names):
* bindings.el (mode-line-client)
(mode-line-column-line-number-mode-map):
* language/tibetan.el (tibetan-precomposition-rule-regexp)
(tibetan-precomposed-regexp): Purecopy string arguments.
| author | Dan Nicolaescu <dann@ics.uci.edu> |
|---|---|
| date | Fri, 30 Oct 2009 02:00:11 +0000 |
| parents | bd2966850aac |
| children | df4934f25eef |
line wrap: on
line diff
--- a/lisp/progmodes/python.el Thu Oct 29 16:46:52 2009 +0000 +++ b/lisp/progmodes/python.el Fri Oct 30 02:00:11 2009 +0000 @@ -87,8 +87,8 @@ ;;;###autoload (add-to-list 'interpreter-mode-alist '("python" . python-mode)) ;;;###autoload -(add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode)) -(add-to-list 'same-window-buffer-names "*Python*") +(add-to-list 'auto-mode-alist (cons (purecopy "\\.py\\'") 'python-mode)) +(add-to-list 'same-window-buffer-names (purecopy "*Python*")) ;;;; Font lock
