[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Load ESS lisp file from user directory instead of from shared locati
From: |
epowell |
Subject: |
Re: Load ESS lisp file from user directory instead of from shared location |
Date: |
Tue, 28 Dec 2010 12:03:46 -0800 (PST) |
Here's where I'm at now:
By examining the load-path variable, I was able to determine that the
appropriate subdirectories were added to my load-path (e.g. ess-5.12), but I
didn't take account of the fact that all the lisp files were in a further
sub-directory of that. This also explains why the list-load-path-shadows
command was not picking up a conflict between my ess files and those on the
shared location.
I updated my .emacs file with: (add-to-list 'load-path
"~/elisp/ess-5.12/lisp") and now when I do list-load-path-shadows I get a
ton of messages about my ess files hiding the ones in the shared location.
Unfortunately, the ess in the shared location still gets loaded over mine,
though. I think this could be because there is a site-start.el file that
calls (require 'ess-site), and since that file gets read before my .emacs
file adds new locations to load-path, that could explain the problem.
Still, I'm not sure how to fix it.
I am aware of the --no-site-file argument that can be used when invoking
emacs, but I was hoping I could find a solution that wouldn't compromise all
the other things done by site-start.el.
Thanks in advance!
--
View this message in context:
http://old.nabble.com/Load-ESS-lisp-file-from-user-directory-instead-of-from-shared-location-tp30541254p30547016.html
Sent from the Emacs - Help mailing list archive at Nabble.com.