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

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

bug#18851: 24.4; emacs cannot be started if the current directory has be


From: Andreas Schwab
Subject: bug#18851: 24.4; emacs cannot be started if the current directory has been removed
Date: Wed, 29 Oct 2014 18:31:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Vincent Lefevre <vincent@vinc17.net> writes:

> On 2014-10-29 17:15:45 +0100, Andreas Schwab wrote:
>> Try this:
>> 
>> emacs --eval '(progn (setq default-directory nil) (find-file "~/out"))'
>
> Thanks. Now my question is: after starting Emacs like that, will there
> be any serious problem due to the fact that default-directory value is
> nil (except for the ~/out buffer)?

The global value of default-directory isn't actually used that much, new
buffers inherit its value from the current buffer.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





reply via email to

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