Subject: bug#24999: closed (Re: bug#24999: 24.5; bad doc for invocation-directory)

From: Eli Zaretskii <[email-masked]>
Date: Thu, 24 Nov 2016 19:53:41 +0200

> Date: Thu, 24 Nov 2016 18:45:22 +0100
> From: Francesco Potortì <[email-masked]>
> 
> I had written:
> 
> >The only way I found for obtaining the directory from which
> >Emacs was invoked is to get the default-directory of the *scratch*
> >buffer.
> 
> Can this be considered as a bug?  Or at least a wishlist?  Having a
> variable that contains the invocation directory?

IMO it's not meaningful in Emacs to ask which directory was the
"current" when Emacs started.  That's because Emacs pretends the
current directory is different for every buffer.