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: Juanma Barranquero
Subject: Re: proposal to make null string handling more emacs-y
Date: Wed, 25 Apr 2012 18:46:22 +0200

On Wed, Apr 25, 2012 at 17:30, Stefan Monnier <address@hidden> wrote:

> He's only suggesting that
> instead of throwing an error some functions should behave as if they had
> received an empty string.  E.g. like (concat "23" nil "45") does.

Though, to be fair, `concat' is not special-casing anything. It's not
behaving as if it had received an empty string, but an empty list:

ELISP> (concat "ab" '(?x) "cd")
"abxcd"
ELISP> (concat "ab" '() "cd")
"abcd"

(Yes, I know you know it.)

    Juanma



reply via email to

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