* Why does exec-path seem to be modified?
@ 2015-02-14 21:42 Marcin Borkowski
2015-02-15 17:57 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2015-02-14 21:42 UTC (permalink / raw)
To: Help Gnu Emacs mailing list
Hello all,
C-h v exec-path RET
shows roughly this in my Emacs:
exec-path is a variable defined in `C source code'.
Its value is
("/home/marcin/texlive/2014/bin/i386-linux" "/home/marcin/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/usr/local/libexec/emacs/25.0.50/i686-pc-linux-gnu")
Original value was
("/home/marcin/texlive/2014/bin/i386-linux" "/home/marcin/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/home/marcin/other-files/emacs/emacs/lib-src" "/usr/local/libexec/emacs/25.0.50/i686-pc-linux-gnu")
The /home/marcin/other-files/emacs/emacs is where the source code of my
Emacs lives.
Why is there a difference between its "value" and "original value"?
Needless to say, I do not mess with it in my init.el.
TIA,
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why does exec-path seem to be modified?
2015-02-14 21:42 Why does exec-path seem to be modified? Marcin Borkowski
@ 2015-02-15 17:57 ` Eli Zaretskii
2015-02-15 22:26 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2015-02-15 17:57 UTC (permalink / raw)
To: help-gnu-emacs
> From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
> Date: Sat, 14 Feb 2015 22:42:50 +0100
>
> C-h v exec-path RET
> shows roughly this in my Emacs:
>
> exec-path is a variable defined in `C source code'.
> Its value is
> ("/home/marcin/texlive/2014/bin/i386-linux" "/home/marcin/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/usr/local/libexec/emacs/25.0.50/i686-pc-linux-gnu")
>
> Original value was
> ("/home/marcin/texlive/2014/bin/i386-linux" "/home/marcin/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/sbin" "/usr/bin" "/sbin" "/bin" "/usr/games" "/usr/local/games" "/home/marcin/other-files/emacs/emacs/lib-src" "/usr/local/libexec/emacs/25.0.50/i686-pc-linux-gnu")
>
> The /home/marcin/other-files/emacs/emacs is where the source code of my
> Emacs lives.
>
> Why is there a difference between its "value" and "original value"?
Because Emacs modifies the original value during startup, see
callproc.c.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-02-15 22:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-14 21:42 Why does exec-path seem to be modified? Marcin Borkowski
2015-02-15 17:57 ` Eli Zaretskii
2015-02-15 22:26 ` Stefan Monnier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).