aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2012-07-29 18:55:02 +0200
committerJan Djärv2012-07-29 18:55:02 +0200
commitffd817eb10bd5e4ad1bf693fc2ebdffd25dea874 (patch)
tree17249090e7e077099b4d9106f44f05050669ee5c
parentbb6eb9fcbd3ce25724ce3823132fa5d758a5ade1 (diff)
downloademacs-ffd817eb10bd5e4ad1bf693fc2ebdffd25dea874.tar.gz
emacs-ffd817eb10bd5e4ad1bf693fc2ebdffd25dea874.zip
* Makefile.in (install-arch-indep): Handle space in locallisppath.
* src/lread.c (init_lread): Remove if-statement in ifdef HAVE_NS before setting sitelisp. Fixes: debbugs:12010
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in9
-rw-r--r--src/ChangeLog5
-rw-r--r--src/lread.c10
4 files changed, 14 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index f9546f9e056..82b4e7fd15c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12012-07-29 Jan Djärv <jan.h.d@swipnet.se>
2
3 * Makefile.in (install-arch-indep): Handle space in locallisppath.
4
12012-07-28 Paul Eggert <eggert@cs.ucla.edu> 52012-07-28 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 Use Gnulib environ module (Bug#9772). 7 Use Gnulib environ module (Bug#9772).
diff --git a/Makefile.in b/Makefile.in
index 95b0931087f..c6df480ce7c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -285,9 +285,9 @@ removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
285# to just letting configure generate epaths.h from epaths.in in a 285# to just letting configure generate epaths.h from epaths.in in a
286# similar way to how Makefile is made from Makefile.in. 286# similar way to how Makefile is made from Makefile.in.
287epaths-force: FRC 287epaths-force: FRC
288 @(standardlisppath=`echo ${standardlisppath} | ${removenullpaths}` ; \ 288 @(standardlisppath=`echo "${standardlisppath}" | ${removenullpaths}` ; \
289 locallisppath=`echo ${locallisppath} | ${removenullpaths}` ; \ 289 locallisppath=`echo "${locallisppath}" | ${removenullpaths}` ; \
290 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ 290 buildlisppath=`echo "${buildlisppath}" | ${removenullpaths}` ; \
291 x_default_search_path=`echo ${x_default_search_path}`; \ 291 x_default_search_path=`echo ${x_default_search_path}`; \
292 gamedir=`echo ${gamedir}`; \ 292 gamedir=`echo ${gamedir}`; \
293 sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \ 293 sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \
@@ -489,7 +489,8 @@ set_installuser=for installuser in $${LOGNAME} $${USERNAME} $${USER} \
489## http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00005.html 489## http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00005.html
490install-arch-indep: install-info install-man ${INSTALL_ARCH_INDEP_EXTRA} 490install-arch-indep: install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
491 umask 022 ; \ 491 umask 022 ; \
492 $(MKDIR_P) $(DESTDIR)`echo ${locallisppath} | sed 's,:, $(DESTDIR),g'` 492 eval sh -x $(MKDIR_P) \
493 "'$(DESTDIR)`echo ${locallisppath}|sed \"s,:,' '$(DESTDIR),g\"`'"
493 -set ${COPYDESTS} ; \ 494 -set ${COPYDESTS} ; \
494 unset CDPATH; \ 495 unset CDPATH; \
495 $(set_installuser); \ 496 $(set_installuser); \
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);