aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lread.c10
2 files changed, 5 insertions, 10 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index aba9846f6a6..d6143d15bde 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-07-29 Jan Djärv <jan.h.d@swipnet.se>
2
3 * lread.c (init_lread): Remove if-statement in ifdef HAVE_NS before
4 setting sitelisp (Bug#12010).
5
12012-07-29 Eli Zaretskii <eliz@gnu.org> 62012-07-29 Eli Zaretskii <eliz@gnu.org>
2 7
3 * w32heap.h (OS_9X): Renamed from OS_WINDOWS_95. 8 * w32heap.h (OS_9X): Renamed from OS_WINDOWS_95.
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);