all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24999: 24.5; bad doc for invocation-directory
@ 2016-11-23 10:23 Francesco Potortì
  2016-11-24 17:23 ` Eli Zaretskii
       [not found] ` <handler.24999.D24999.148000823832450.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: Francesco Potortì @ 2016-11-23 10:23 UTC (permalink / raw)
  To: 24999

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.





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-11-26  7:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23 10:23 bug#24999: 24.5; bad doc for invocation-directory Francesco Potortì
2016-11-24 17:23 ` Eli Zaretskii
     [not found] ` <handler.24999.D24999.148000823832450.notifdone@debbugs.gnu.org>
2016-11-24 17:45   ` bug#24999: closed (Re: bug#24999: 24.5; bad doc for invocation-directory) Francesco Potortì
2016-11-24 17:53     ` Eli Zaretskii
2016-11-24 18:02       ` Eli Zaretskii
2016-11-24 18:08         ` Francesco Potortì
2016-11-24 18:19           ` Eli Zaretskii
2016-11-25  8:44       ` Francesco Potortì
2016-11-25 13:27         ` Eli Zaretskii
2016-11-26  1:07           ` Richard Stallman
2016-11-26  7:20             ` Eli Zaretskii
2016-11-26  1:07         ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.