bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Fri, 11 Oct 2019 07:43:18 +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)))

I guess that makes sense.  We (possibly) lose text properties here, but
we don't care about those anyway in this context, I think?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]