mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +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)
|