[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp string function question
From: |
Eli Zaretskii |
Subject: |
Re: Elisp string function question |
Date: |
Fri, 18 Jun 2021 15:36:25 +0300 |
> Date: Fri, 18 Jun 2021 14:18:07 +0200
> From: Ergus <spacibba@aol.com>
>
> I just tried and this:
>
> (string-empty-p nil)
>
> returns nil. But nil is not an non-empty string. This forces to add some
> extra checks when using this function.
>
> Is this intended?
Not clear. string-empty-p follows the examples of string=, which
allows symbols as arguments (and uses their name).
I suggest to report a bug about this, because at the very least the
doc string should mention this.
Re: Elisp string function question, Stefan Monnier, 2021/06/18
Re: Elisp string function question, Michael Heerdegen, 2021/06/18
Re: Elisp string function question, Emanuel Berg, 2021/06/18