nixpkgs/pkgs/build-support/emacs/setup-hook.sh
2015-03-03 05:31:38 +00:00

8 lines
164 B
Bash

addEmacsVars () {
if test -d $1/share/emacs/site-lisp; then
export EMACSLOADPATH="$1/share/emacs/site-lisp:$EMACSLOADPATH"
fi
}
envHooks+=(addEmacsVars)