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.
This commit is contained in:
parent
8ad983c4ac
commit
33b8ce865f
3 changed files with 34 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue