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

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

Re: Why does exec-path seem to be modified?


From: Eli Zaretskii
Subject: Re: Why does exec-path seem to be modified?
Date: Sun, 15 Feb 2015 19:57:50 +0200

> From: Marcin Borkowski <address@hidden>
> 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.



reply via email to

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