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

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

exec-path not changed in autostart


From: Xin Jin
Subject: exec-path not changed in autostart
Date: Fri, 19 Dec 2014 13:09:19 -0800 (PST)
User-agent: G2/1.0

Hi,
I use the following code to add the paths from the shell environment to 
exec-path:

(setq exec-path
      (append
       (split-string-and-unquote (getenv "PATH") ":")
       exec-path))

However, it does not work when "emacs24 --daemon" runs as a system autostart 
script. The interesting thing is that if I run "emacs24 --daemon" manually, the 
above code does work and the paths are successfully added.

I am really confused. Can anyone see why this happens?

I am running openbox on debian wheezy.


reply via email to

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