[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#30219: 27.0.50; (should (equal ...)) bug for string equality
From: |
Lars Ingebrigtsen |
Subject: |
bug#30219: 27.0.50; (should (equal ...)) bug for string equality |
Date: |
Sun, 13 Oct 2019 20:10:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Mattias Engdegård <mattiase@acm.org> writes:
> ((pred arrayp)
> + ;; For mixed unibyte/multibyte string comparisons, make both
> multibyte.
> + (when (and (stringp a)
> + (xor (multibyte-string-p a) (multibyte-string-p b)))
> + (setq a (string-to-multibyte a))
> + (setq b (string-to-multibyte b)))
Looks good to me, I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no