From b81baa3e9ab164f7f9d89e21158fb247c2c97df7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 20 Feb 2008 22:58:50 +0000 Subject: [PATCH] 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 --- etc/profile.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/etc/profile.sh b/etc/profile.sh index e780b12988f..2e533a7457f 100644 --- a/etc/profile.sh +++ b/etc/profile.sh @@ -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