nixpkgs/pkgs/build-support/melpa/setup-hook.sh
2015-02-17 15:08:55 -08: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)