Pascal Bourguignon <[EMAIL PROTECTED]> writes:

> "Shug Boabby" <[EMAIL PROTECTED]> writes:
> 
> > thanks pascal... but the problem is that i only wish to set HOME for
> > emacs, but not the other dock (or OS X) apps.
> 
> Then you can put:
>      (putenv "HOME" "/some/path") 

Make it setenv

(I only use (setf (getenv "HOME") "/some/path") personnally...)

> at the start of your ~/.emacs
> 
> Of course, it'll use the normal $HOME to find ~/.emacs. If that's not
> what you want, you only can write a trampoline script:
> 
> % cat ~/bin/emacs
> #!/bin/bash
> export HOME=/some/path
> exec /usr/local/bin/emacs "$@"
> 
> 
> 
> 
> -- 
> __Pascal Bourguignon__                     http://www.informatimago.com/
> 
> Nobody can fix the economy.  Nobody can be trusted with their finger
> on the button.  Nobody's perfect.  VOTE FOR NOBODY.

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
In deep sleep hear sound,
Cat vomit hairball somewhere.
Will find in morning.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to