Make 'prefer-utf-8' heed inhibit-*-detection variables

* 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)
This commit is contained in:
Eli Zaretskii 2020-11-14 14:43:42 +02:00
parent 206445a703
commit 29a59aad1c

View 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.