mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
7 lines
164 B
Bash
7 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)
|