Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
2e4c5312
Commit
2e4c5312
authored
Jun 30, 2012
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/nsterm.m (ns_init_paths): Ignore site-lisp if --no-site-lisp.
parent
bbce2853
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
src/ChangeLog
src/ChangeLog
+2
-0
src/nsterm.m
src/nsterm.m
+2
-0
No files found.
src/ChangeLog
View file @
2e4c5312
2012-06-30 Glenn Morris <rgm@gnu.org>
* nsterm.m (ns_init_paths): Ignore site-lisp if --no-site-lisp.
* epaths.in (PATH_SITELOADSEARCH): New.
* lread.c (init_lread): Use PATH_SITELOADSEARCH.
This is rather than relying on --enable-locallisppath elements
...
...
src/nsterm.m
View file @
2e4c5312
...
...
@@ -320,6 +320,8 @@ Updated by Christian Limpach (chris@nice.ch)
@"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])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment