From cdf5c17ae8c53ab4c9f51dea78df080001ae1fe2 Mon Sep 17 00:00:00 2001 From: Vinicius Jose Latorre Date: Wed, 1 Aug 2007 21:43:11 +0000 Subject: [PATCH] Adjust load-path --- src/ChangeLog | 5 +++++ src/mac.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index d50f9fbe518..32d0a243aa0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2007-08-01 Seiji Zenitani + + * mac.c (init_mac_osx_environment): Adjust load-path on self-contained + build. + 2007-07-31 Stefan Monnier * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. diff --git a/src/mac.c b/src/mac.c index a64c3d208e3..ba0650c6051 100644 --- a/src/mac.c +++ b/src/mac.c @@ -5327,12 +5327,12 @@ init_mac_osx_environment () 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') @@ -5341,7 +5341,7 @@ init_mac_osx_environment () } 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') -- 2.39.5