emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 0528a7c: Ensure that expand-file-name returns a


From: Ken Brown
Subject: Re: [Emacs-diffs] master 0528a7c: Ensure that expand-file-name returns an absolute file name
Date: Tue, 9 Jul 2019 11:56:10 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2

On 7/8/2019 11:46 PM, Stefan Monnier wrote:
> Signaling a clear error here would have helped the programmer find the
> real problem and fix it quickly, whereas the patch we installed caters
> to broken code, encouraging bad practices.

FWIW, expand-file-name (before the patch) already allowed the user to specify a 
default directory that is not even a string.  This has been the case since 1997:

commit 82330e7fc0025b7eab669c19e6f4977aebe8cb13
Author: Richard M. Stallman <address@hidden>
Date:   Fri Sep 5 01:21:43 1997 +0000

     (Fexpand_file_name): If default dir isn't string, use `/'.


Ken

reply via email to

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