|
From: | Paul Eggert |
Subject: | bug#42836: 27.1; default-directory is set to "/" after startup |
Date: | Thu, 13 Aug 2020 12:54:00 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
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.)
0001-Fix-startup-working-dir-bug-on-NeXTSTEP.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |