diff options
Diffstat (limited to 'src/lread.c')
| -rw-r--r-- | src/lread.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lread.c b/src/lread.c index 39378bb11dd..0db37d7492f 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4121,12 +4121,7 @@ init_lread (void) | |||
| 4121 | difference between initialized and !initialized in this case, | 4121 | difference between initialized and !initialized in this case, |
| 4122 | so we'll have to do it unconditionally when Vinstallation_directory | 4122 | so we'll have to do it unconditionally when Vinstallation_directory |
| 4123 | is non-nil. */ | 4123 | is non-nil. */ |
| 4124 | #ifdef HAVE_NS | ||
| 4125 | /* loadpath already includes the app-bundle's site-lisp. */ | ||
| 4126 | if (!no_site_lisp && !egetenv ("EMACSLOADPATH") && !loadpath) | ||
| 4127 | #else | ||
| 4128 | if (!no_site_lisp && !egetenv ("EMACSLOADPATH")) | 4124 | if (!no_site_lisp && !egetenv ("EMACSLOADPATH")) |
| 4129 | #endif | ||
| 4130 | { | 4125 | { |
| 4131 | Lisp_Object sitelisp; | 4126 | Lisp_Object sitelisp; |
| 4132 | sitelisp = decode_env_path (0, PATH_SITELOADSEARCH); | 4127 | sitelisp = decode_env_path (0, PATH_SITELOADSEARCH); |
| @@ -4270,12 +4265,7 @@ init_lread (void) | |||
| 4270 | load_path_check (); | 4265 | load_path_check (); |
| 4271 | 4266 | ||
| 4272 | /* Add the site-lisp directories at the front. */ | 4267 | /* Add the site-lisp directories at the front. */ |
| 4273 | #ifdef HAVE_NS | ||
| 4274 | /* loadpath already includes the app-bundle's site-lisp. */ | ||
| 4275 | if (!no_site_lisp && !loadpath) | ||
| 4276 | #else | ||
| 4277 | if (!no_site_lisp) | 4268 | if (!no_site_lisp) |
| 4278 | #endif | ||
| 4279 | { | 4269 | { |
| 4280 | Lisp_Object sitelisp; | 4270 | Lisp_Object sitelisp; |
| 4281 | sitelisp = decode_env_path (0, PATH_SITELOADSEARCH); | 4271 | sitelisp = decode_env_path (0, PATH_SITELOADSEARCH); |