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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35921: 26.2; Clarify how does equal-including-properties compare tex


From: Xu Chunyang
Subject: bug#35921: 26.2; Clarify how does equal-including-properties compare text properties
Date: Mon, 27 May 2019 13:05:14 +0800
User-agent: Emacs/26.2

Hi,

I expect the following returns t, however it doesn't

    (equal-including-properties
     #("a" 0 1 (face (:foreground "#bcc201")))
     #("a" 0 1 (face (:foreground "#bcc201"))))
    ;; => nil

it seems equal-including-properties uses `eq` to compare text properties
instead of `equal`, but the docstring doesn't mention this and the info
manual doesn't say this very clearly, maybe it's worth improving?





reply via email to

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