bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#42836: 27.1; default-directory is set to "/" after startup


From: Alan Third
Subject: bug#42836: 27.1; default-directory is set to "/" after startup
Date: Fri, 14 Aug 2020 00:06:34 +0200 (CEST)

On Thu, Aug 13, 2020 at 12:54:00PM -0700, Paul Eggert wrote:
> On 8/13/20 7:52 AM, Alan Third wrote:
> > I suspect the best solution here is to move the code at line
> > emacs.c:1623 to before emacs_wd is set. What do you think, Paul?
> 
> It's probably safer to leave the code where it is, and to update emacs_wd if
> Emacs chdirs successfully.
> 
> Does the attached patch work for you? If so, I can install it into the
> emacs-27 branch. (I don't use macOS so can't easily test it myself.)

It works for me.

Thanks!
-- 
Alan Third





reply via email to

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