summaryrefslogtreecommitdiff
path: root/lisp/international/mule.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-02-15 21:00:54 +0200
committerEli Zaretskii <eliz@gnu.org>2023-02-15 21:00:54 +0200
commit2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da (patch)
tree08d6a0cc597df2c8d1f43b2a414046a2f187cdb1 /lisp/international/mule.el
parent32795309939fe0153644ce1ff100b5fc615e6ec2 (diff)
downloademacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.tar.gz
Fix mule-tests under en_US.UTF-8 locale
* test/lisp/international/mule-tests.el (sgml-html-meta-utf-8): Accept also utf-8-unix/dos/whatever. (Bug#61534) * lisp/international/mule.el (sgml-html-meta-auto-coding-function): Fix comparison when buffer-file-coding-system is of type 'charset'.
Diffstat (limited to 'lisp/international/mule.el')
-rw-r--r--lisp/international/mule.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 52019697ad7..25b90b49c8f 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -2544,6 +2544,7 @@ This function is intended to be added to `auto-coding-functions'."
;; coding-system-equal, since it isn't a
;; coding-system. So test that up front.
(not (equal sym-type 'charset))
+ (not (equal bfcs-type 'charset))
(coding-system-equal 'utf-8 sym-type)
(coding-system-equal 'utf-8 bfcs-type))
buffer-file-coding-system