diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-02-15 21:00:54 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-02-15 21:00:54 +0200 |
commit | 2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da (patch) | |
tree | 08d6a0cc597df2c8d1f43b2a414046a2f187cdb1 /lisp/international/mule.el | |
parent | 32795309939fe0153644ce1ff100b5fc615e6ec2 (diff) | |
download | emacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.tar.gz emacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.tar.bz2 emacs-2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da.zip |
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.el | 1 |
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 |