diff options
| author | Stefan Kangas | 2024-12-09 03:39:56 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-12 22:48:17 +0100 |
| commit | 04408e198f1acc2eeae2ca299de994ba38116d1a (patch) | |
| tree | 484556283beddd0ae4618e2c3c38029df59a3bdc /lisp/progmodes/python.el | |
| parent | a4e38cc3753ac416181c0ead758d174093eb3526 (diff) | |
| download | emacs-04408e198f1acc2eeae2ca299de994ba38116d1a.tar.gz emacs-04408e198f1acc2eeae2ca299de994ba38116d1a.zip | |
Don't call purecopy in progmodes/*.el
* lisp/progmodes/compile.el (compile-command):
* lisp/progmodes/etags.el (tags-compression-info-list):
* lisp/progmodes/grep.el (grep-program, find-program, xargs-program):
* lisp/progmodes/js.el (interpreter-mode-alist):
* lisp/progmodes/python.el (interpreter-mode-alist):
* lisp/progmodes/ruby-mode.el (auto-mode-alist, interpreter-mode-alist):
* lisp/progmodes/vera-mode.el: Remove calls to purecopy.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index cfa3cc59568..cdc1f267ea3 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -291,7 +291,7 @@ | |||
| 291 | ;;;###autoload | 291 | ;;;###autoload |
| 292 | (add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-mode)) | 292 | (add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-mode)) |
| 293 | ;;;###autoload | 293 | ;;;###autoload |
| 294 | (add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode)) | 294 | (add-to-list 'interpreter-mode-alist '("python[0-9.]*" python-mode)) |
| 295 | 295 | ||
| 296 | (defgroup python nil | 296 | (defgroup python nil |
| 297 | "Python Language's flying circus support for Emacs." | 297 | "Python Language's flying circus support for Emacs." |