Subject: Re: bug#13296: 24.2.91; Interpretation of Null CDPATH components is wrong.

From: Glenn Morris <[email-masked]>
Date: Sun, 30 Dec 2012 13:47:07 -0500

Charles Rendleman wrote:

> $ export CDPATH=:~
[...]
> This is interpretation of CDPATH is not the same as that of BASH or of  of
> EMACS prior to 24.2.91 that both treat NULL components of the colon
> separated list of values as ".".  See, bash(1) discussions of CDPATH.

This is due to the changes in http://debbugs.gnu.org/12351 .

Before:

(parse-colon-path ":~")    ->  (nil "~/")

After:

(parse-colon-path ":~")    -> ("~/")

We shouldn't be deleting nil from the result.