On Tue, Jan 6, 2009 at 7:32 PM, BerlinBrown <[email protected]> wrote:
>
> I want to build a clojure application that has config files like with
> emacs (not that complex but close).  I am guessing I need to call the
> eval  and load script to load a configuration file, but I was trying
> to avoid having the configuration file effect the state of the main
> running application.
>
> Does anyone have any tips of example code I could use.

Something like this?

(binding [*ns* (create-ns 'my-app.config)] (load-file "config.clj"))

--Chouser

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to