[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OS X: load-path on self-contained build
From: |
Richard Stallman |
Subject: |
Re: OS X: load-path on self-contained build |
Date: |
Mon, 06 Aug 2007 12:33:41 -0400 |
[I sent this message twice but did not get a response.]
Would those who maintain Emacs on MacOS please DTRT
and ack?
The attached patch (by R. Yoshitake; GPL) works fine for me.
Is there any potential side-effects?
Seiji Zenitani
address@hidden
--- src/mac.c.orig 2007-04-20 09:26:45.000000000 -0400
+++ src/mac.c 2007-06-09 18:54:42.000000000 -0400
@@ -5331,12 +5335,12 @@
q[0] = '\0';
strcpy (p, app_bundle_pathname);
- strcat (p, "/Contents/Resources/lisp");
+ strcat (p, "/Contents/Resources/site-lisp");
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
strcat (q, p);
strcpy (p, app_bundle_pathname);
- strcat (p, "/Contents/Resources/leim");
+ strcat (p, "/Contents/Resources/lisp");
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
{
if (q[0] != '\0')
@@ -5345,7 +5349,7 @@
}
strcpy (p, app_bundle_pathname);
- strcat (p, "/Contents/Resources/site-lisp");
+ strcat (p, "/Contents/Resources/leim");
if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
{
if (q[0] != '\0')