summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2022-07-08 10:27:45 +0200
committerAndrea Corallo <akrl@sdf.org>2022-07-13 15:19:27 +0200
commit7af88de4103e6467e8edc9c7a15a97361d99822f (patch)
tree863791d845a5db9197442cb758b3a7fe585309bc /lisp/emacs-lisp
parent2209650089851b7ec7b0a87bd73a878f2da6975f (diff)
downloademacs-7af88de4103e6467e8edc9c7a15a97361d99822f.tar.gz
emacs-7af88de4103e6467e8edc9c7a15a97361d99822f.tar.bz2
emacs-7af88de4103e6467e8edc9c7a15a97361d99822f.zip
Mark async worker tmp file as utf-8-emacs-unix (bug#48029)
* lisp/emacs-lisp/comp.el (comp-final): Mark async worker tmp file as utf-8. * test/src/comp-tests.el (48029-1): New test. * test/src/comp-resources/comp-test-funcs.el (comp-test-48029-nonascii-žžž-f): New function.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/comp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 7d09d2425b2..374b39e9990 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -3697,7 +3697,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 ";; -*-coding: utf-8-emacs-unix; -*-\n")
(mapc (lambda (e)
(insert (prin1-to-string e)))
expr))