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

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

[debbugs-tracker] bug#24999: closed (24.5; bad doc for invocation-direct


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#24999: closed (24.5; bad doc for invocation-directory)
Date: Thu, 24 Nov 2016 17:24:02 +0000

Your message dated Thu, 24 Nov 2016 19:23:28 +0200
with message-id <address@hidden>
and subject line Re: bug#24999: 24.5; bad doc for invocation-directory
has caused the debbugs.gnu.org bug report #24999,
regarding 24.5; bad doc for invocation-directory
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
24999: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24999
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.5; bad doc for invocation-directory Date: Wed, 23 Nov 2016 11:23:08 +0100
The elisp manual says:

 -- Variable: invocation-directory
     This variable holds the directory from which the Emacs executable
     was invoked, or perhaps `nil' if that directory cannot be
     determined.

However, the doc string says:

invocation-directory is a variable defined in `C source code'.
Its value is "/usr/bin/"

Documentation:
The directory in which the Emacs executable was found, to run it.
The value is nil if that directory's name is not known.


The second description is the correct one, and the elisp manual is
wrong.

The only way I found for obtaining the directory from which
Emacs was invoked is to get the default-directory of the *scratch*
buffer.



--- End Message ---
--- Begin Message --- Subject: Re: bug#24999: 24.5; bad doc for invocation-directory Date: Thu, 24 Nov 2016 19:23:28 +0200
> Date: Wed, 23 Nov 2016 11:23:08 +0100
> From: Francesco Potortì <address@hidden>
> 
> The elisp manual says:
> 
>  -- Variable: invocation-directory
>      This variable holds the directory from which the Emacs executable
>      was invoked, or perhaps `nil' if that directory cannot be
>      determined.
> 
> However, the doc string says:
> 
> invocation-directory is a variable defined in `C source code'.
> Its value is "/usr/bin/"
> 
> Documentation:
> The directory in which the Emacs executable was found, to run it.
> The value is nil if that directory's name is not known.
> 
> 
> The second description is the correct one, and the elisp manual is
> wrong.

Thanks, fixed on the release branch.


--- End Message ---

reply via email to

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