nixpkgs/pkgs/build-support/emacs/setup-hook.sh

8 lines
164 B
Bash
Raw Normal View History

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