johnwalker / pixie-mode

A major mode with magical powers
16 stars 3 forks source link

How do we overload customized variables? #1

Closed johnwalker closed 9 years ago

johnwalker commented 9 years ago

So, inf-clojure has a few custom variables. For example,

(defcustom inf-clojure-program "lein repl")

I would like to be able to overload that value for pixie-mode only. setq "pixie-vm" isn't that good, because now clojure users have to setq it back to "lein repl" when they use inf-clojure for clojure programming.

Is there a way to assign a default value within a major mode?

johnwalker commented 9 years ago

solved by heyLu: https://github.com/pixie-lang/pixie/issues/98#issuecomment-66847265