emacs-devel
[Top][All Lists]
Advanced

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

Re: string> missing?


From: Nicolas Richard
Subject: Re: string> missing?
Date: Thu, 04 Jun 2015 09:44:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Thibaut Verron <address@hidden> writes:
> Mostly to this:
>
> (setq str1 "foo")
> (setq str2 "foo")
> (setq str3 str1)
> (= str1 str2)       ;;==> *error*
> (eq str1 str2)      ;;==> nil
> (eq str1 "foo")     ;;==> nil
> (eq str1 str3)      ;;==> nil

If that is not a typo, then it is a bug. I get t.

> (string= str1 str2) ;;==> t

And also:
(equal str1 str2) ;;==> t

-- 
Nico



reply via email to

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