emacs-devel
[Top][All Lists]
Advanced

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

Re: proposal to make null string handling more emacs-y


From: Andreas Röhler
Subject: Re: proposal to make null string handling more emacs-y
Date: Sun, 29 Apr 2012 19:29:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.28) Gecko/20120306 SUSE/3.1.20 Thunderbird/3.1.20

Am 29.04.2012 19:08, schrieb Drew Adams:
(string= nil "")

(if ""
      (message "%s" "empty string proved true")
        (message "%s" "empty string proved false"))
==>  "empty string proved true"

"" is not equal or eq or eql to nil.
But "" is string= to nil.



in other words said:

if the empty list is nil, why the empty string should yield true?

for me

(equal nil "")==> t

would be plausible




reply via email to

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