diff options
-rw-r--r-- | dotfiles/.guile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dotfiles/.guile b/dotfiles/.guile index 9038b3b..47dd3a5 100644 --- a/dotfiles/.guile +++ b/dotfiles/.guile @@ -2,3 +2,10 @@ (use-modules (ice-9 readline)) (activate-readline) + +(define-syntax-rule (push! var x) + (set! var (cons x var))) + +(define (add-to-load-path* dir) + (push! %load-path dir) + (push! %load-compiled-path dir)) |