]> git.eshelyaron.com Git - emacs.git/commitdiff
Make 'prefer-utf-8' heed inhibit-*-detection variables
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 12:43:42 +0000 (14:43 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 12:43:42 +0000 (14:43 +0200)
* lisp/international/mule-conf.el (prefer-utf-8): Inhibit
detection of null bytes and ISO escape sequences if the respective
inhibit-*-detection variables say so.  (Bug#44486)

lisp/international/mule-conf.el

index 42dd19842c84628bcb03069b887c999349d878e3..99449ad359fe17d648f235c4c2e930b22a8677c6 100644 (file)
@@ -1251,7 +1251,9 @@ by UTF-8."
   :coding-type 'undecided
   :mnemonic ?-
   :charset-list '(emacs)
-  :prefer-utf-8 t)
+  :prefer-utf-8 t
+  :inhibit-null-byte-detection 0
+  :inhibit-iso-escape-detection 0)
 
 (define-coding-system 'raw-text
   "Raw text, which means text contains random 8-bit codes.