diff options
author | Andrea Corallo <akrl@sdf.org> | 2021-01-06 15:26:38 +0100 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2021-01-06 15:52:58 +0100 |
commit | 33b8ce865fcfd58538ae2d7c3fff04998fcd3330 (patch) | |
tree | 384902e9f2fc18e9e986762d6fb563478fcff854 /lisp/emacs-lisp | |
parent | 8ad983c4acef60a80e8d6b6ba891b1ef957f2d7c (diff) | |
download | emacs-33b8ce865fcfd58538ae2d7c3fff04998fcd3330.tar.gz emacs-33b8ce865fcfd58538ae2d7c3fff04998fcd3330.tar.bz2 emacs-33b8ce865fcfd58538ae2d7c3fff04998fcd3330.zip |
Fix bug#45603
Reported and reduced by Mauricio Collares.
* lisp/emacs-lisp/comp.el (comp-final): Fix coding system for the
tmp file used to pass data the child processes.
* test/src/comp-tests.el (45603-1): New testcase
* test/src/comp-test-45603.el : New File.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 3247b19c5e2..88b6a4690df 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -3550,6 +3550,7 @@ Prepare every function for final compilation and drive the C back-end." (file-name-base output) "-") nil ".el"))) (with-temp-file temp-file + (insert ";; -*-coding: nil; -*-\n") (insert (prin1-to-string expr))) (with-temp-buffer (unwind-protect |