aboutsummaryrefslogtreecommitdiffstats
path: root/src/mac.c
diff options
context:
space:
mode:
authorVinicius Jose Latorre2007-08-01 21:43:46 +0000
committerVinicius Jose Latorre2007-08-01 21:43:46 +0000
commitec96293f2d44298b54a84f308a3d5d735701f122 (patch)
tree4c4ec407bb3ec34dd2c50bc8bd051b6aac3b3505 /src/mac.c
parent1a1c4e2ebf7194e66278312690072d2601b23145 (diff)
downloademacs-ec96293f2d44298b54a84f308a3d5d735701f122.tar.gz
emacs-ec96293f2d44298b54a84f308a3d5d735701f122.zip
Adjust load-path
Diffstat (limited to 'src/mac.c')
-rw-r--r--src/mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mac.c b/src/mac.c
index 0321e8f2ae1..7f22c19936b 100644
--- a/src/mac.c
+++ b/src/mac.c
@@ -5331,12 +5331,12 @@ init_mac_osx_environment ()
5331 q[0] = '\0'; 5331 q[0] = '\0';
5332 5332
5333 strcpy (p, app_bundle_pathname); 5333 strcpy (p, app_bundle_pathname);
5334 strcat (p, "/Contents/Resources/lisp"); 5334 strcat (p, "/Contents/Resources/site-lisp");
5335 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 5335 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
5336 strcat (q, p); 5336 strcat (q, p);
5337 5337
5338 strcpy (p, app_bundle_pathname); 5338 strcpy (p, app_bundle_pathname);
5339 strcat (p, "/Contents/Resources/leim"); 5339 strcat (p, "/Contents/Resources/lisp");
5340 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 5340 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
5341 { 5341 {
5342 if (q[0] != '\0') 5342 if (q[0] != '\0')
@@ -5345,7 +5345,7 @@ init_mac_osx_environment ()
5345 } 5345 }
5346 5346
5347 strcpy (p, app_bundle_pathname); 5347 strcpy (p, app_bundle_pathname);
5348 strcat (p, "/Contents/Resources/site-lisp"); 5348 strcat (p, "/Contents/Resources/leim");
5349 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR) 5349 if (stat (p, &st) == 0 && (st.st_mode & S_IFMT) == S_IFDIR)
5350 { 5350 {
5351 if (q[0] != '\0') 5351 if (q[0] != '\0')