summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp.el
diff options
context:
space:
mode:
authorAndrea Corallo <akrl@sdf.org>2020-12-20 20:53:22 +0100
committerAndrea Corallo <akrl@sdf.org>2020-12-20 21:21:39 +0100
commit72c1a41573a96a39482a001bfeb3230c471a5681 (patch)
tree4cecfd48f5d0109b0258af9366918eb326c4c139 /lisp/emacs-lisp/comp.el
parent3bb2fd0c58c6caf1772564524c782f8a4a3fb2b4 (diff)
downloademacs-72c1a41573a96a39482a001bfeb3230c471a5681.tar.gz
emacs-72c1a41573a96a39482a001bfeb3230c471a5681.tar.bz2
emacs-72c1a41573a96a39482a001bfeb3230c471a5681.zip
Have native compiler always preserve multibyte strings (bug#45342)
* lisp/emacs-lisp/comp.el (comp-final): Escape multibyte string when offloading compilation to child process. * test/src/comp-test-funcs.el (comp-test-45342-f): New function * test/src/comp-tests.el (bug-45342): New test
Diffstat (limited to 'lisp/emacs-lisp/comp.el')
-rw-r--r--lisp/emacs-lisp/comp.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index 2cff362cb9e..c6f192d1e83 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -2863,6 +2863,7 @@ Prepare every function for final compilation and drive the C back-end."
(print-quoted t)
(print-gensym t)
(print-circle t)
+ (print-escape-multibyte t)
(expr `(progn
(require 'comp)
(setf comp-verbose ,comp-verbose