mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
8 lines
164 B
Bash
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)
|