emacs-devel
[Top][All Lists]
Advanced

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

Re: [OS X] new variable for app bundle path


From: YAMAMOTO Mitsuharu
Subject: Re: [OS X] new variable for app bundle path
Date: Mon, 03 Sep 2007 12:16:55 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sun, 2 Sep 2007 22:54:04 -0400, Seiji Zenitani <address@hidden> said:

> (expand-file-name "../.." invocation-directory)

> would be an alternative on Mac window environment.  By the way, when
> invoked from CLI, invocation-directory returns "/usr/local/bin" or
> "/Application/Emacs.app/Contents/MacOS".  On the other hand, the new
> variable will be more logical: 0 (strictly speaking, it should be
> nil) or "/Application/Emacs.app".

Why don't you check window-system additionally?

                                     YAMAMOTO Mitsuharu
                                address@hidden




reply via email to

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