mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +00:00
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:
parent
17d527a540
commit
b81baa3e9a
@ -60,12 +60,6 @@ done
|
|||||||
# Search directory for Aspell dictionaries.
|
# Search directory for Aspell dictionaries.
|
||||||
export ASPELL_CONF="dict-dir $NIX_USER_PROFILE_DIR/profile/lib/aspell"
|
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
|
export PATH=$HOME/bin:$PATH
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user