emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 4d3a595: `load-path' should contain only direct


From: Dmitry Gutov
Subject: Re: [Emacs-diffs] master 4d3a595: `load-path' should contain only directory names
Date: Thu, 29 Oct 2015 03:04:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:42.0) Gecko/20100101 Thunderbird/42.0

On 10/28/2015 04:53 AM, Stefan Monnier wrote:
I encourage you to fix it.  AFAIK the process.c code is the only one
that relies on the trailing slash.
Any pointers? None of the matches for 'directory' in process.c
seem relevant.

It's in callproc.c, actually:

    dir = Funhandled_file_name_directory (dir);

Thank you. Pushed as ffa41ad. I've opted to use file-name-as-directory, in case some weird code out there depends on the trailing slash, but the simplest example works fine even if unhandled-file-name-directory returns filename unaltered.



reply via email to

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