Commit 2e4c5312 authored by Glenn Morris's avatar Glenn Morris

* src/nsterm.m (ns_init_paths): Ignore site-lisp if --no-site-lisp.

parent bbce2853
2012-06-30 Glenn Morris <>
* nsterm.m (ns_init_paths): Ignore site-lisp if --no-site-lisp.
* lread.c (init_lread): Use PATH_SITELOADSEARCH.
This is rather than relying on --enable-locallisppath elements
......@@ -320,6 +320,8 @@ Updated by Christian Limpach (
@"site-lisp", @"lisp", @"leim", nil]];
NSEnumerator *pathEnum = [paths objectEnumerator];
resourcePaths = @"";
/* Hack to skip site-lisp. */
if (no_site_lisp) resourcePath = [pathEnum nextObject];
while (resourcePath = [pathEnum nextObject])
if ([fileManager fileExistsAtPath: resourcePath isDirectory: &isDir])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment