Revert `$EMACSLOADPATH' trick: it doesn't work because the value

of `$EMACSLOADPATH' overrides Emacs's default `load-path', which
contains useful directories like `$EMACS/share/emacs/22.1/lisp',
etc.

svn path=/nixos/trunk/; revision=10792
This commit is contained in:
Ludovic Courtès 2008-02-20 22:58:50 +00:00
parent 17d527a540
commit b81baa3e9a

View File

@ -60,12 +60,6 @@ done
# Search directory for Aspell dictionaries.
export ASPELL_CONF="dict-dir $NIX_USER_PROFILE_DIR/profile/lib/aspell"
# Search path for Emacs Lisp code.
export EMACSLOADPATH=""
for i in $NIX_PROFILES; do
export EMACSLOADPATH="$i/share/emacs/site-lisp:$EMACSLOADPATH"
done
export PATH=$HOME/bin:$PATH