From 724ff442bac9e07f85b2e380c50ecede2d234b9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 20 Feb 2008 10:35:49 +0000 Subject: [PATCH] Export `$EMACSLOADPATH'. svn path=/nixos/trunk/; revision=10768 --- etc/profile.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/profile.sh b/etc/profile.sh index 2e533a7457f..e780b12988f 100644 --- a/etc/profile.sh +++ b/etc/profile.sh @@ -60,6 +60,12 @@ 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