unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* exec-path not changed in autostart
@ 2014-12-19 21:09 Xin Jin
  2014-12-19 21:46 ` Eli Zaretskii
       [not found] ` <mailman.16507.1419025590.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Xin Jin @ 2014-12-19 21:09 UTC (permalink / raw)
  To: help-gnu-emacs

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.


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

end of thread, other threads:[~2014-12-19 23:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 21:09 exec-path not changed in autostart Xin Jin
2014-12-19 21:46 ` Eli Zaretskii
     [not found] ` <mailman.16507.1419025590.1147.help-gnu-emacs@gnu.org>
2014-12-19 21:54   ` Xin Jin
2014-12-19 21:58     ` Xin Jin
2014-12-19 22:01       ` Xin Jin
2014-12-19 22:13         ` Óscar Fuentes
     [not found]         ` <mailman.16510.1419027237.1147.help-gnu-emacs@gnu.org>
2014-12-19 23:03           ` Xin Jin

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).