diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-07 05:58:22 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-09-07 05:58:22 +0200 |
commit | 75634733f322e856c8608c1adff0fb7df9edb06d (patch) | |
tree | bd4fbcc4260a0be0dfbc12583c1320697951a48b /geiser/emacs.scm | |
parent | 3a80209b93ef0b7f9bad0fbce2d976c6b5b89e5f (diff) | |
download | geiser-guile-75634733f322e856c8608c1adff0fb7df9edb06d.tar.gz geiser-guile-75634733f322e856c8608c1adff0fb7df9edb06d.tar.bz2 |
Guile: configurable warning level
Diffstat (limited to 'geiser/emacs.scm')
-rw-r--r-- | geiser/emacs.scm | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/geiser/emacs.scm b/geiser/emacs.scm index 3b6f49c..af1a052 100644 --- a/geiser/emacs.scm +++ b/geiser/emacs.scm @@ -10,9 +10,7 @@ ;; Start date: Sun Feb 08, 2009 18:39 (define-module (geiser emacs) - #:re-export (ge:eval - ge:compile - ge:macroexpand + #:re-export (ge:macroexpand ge:compile-file ge:load-file ge:autodoc @@ -26,8 +24,10 @@ ge:callers ge:callees ge:find-file) - #:export (ge:no-values) - #:export (ge:newline) + #:export (ge:compile + ge:no-values + ge:newline) + #:use-module (ice-9 match) #:use-module (geiser evaluation) #:use-module ((geiser modules) :renamer (symbol-prefix-proc 'ge:)) #:use-module ((geiser completion) :renamer (symbol-prefix-proc 'ge:)) @@ -37,4 +37,10 @@ (define (ge:no-values) (values)) (define ge:newline newline) +(define (ge:compile form mod) + (match form + (`((@ (geiser emacs) . ,_) . ,_) (compile/no-warns form mod)) + (_ (compile/warns form mod)))) + + ;;; emacs.scm ends here |