3
0
Fork 0
forked from mirrors/nixpkgs
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)