Module Ecaml__Var

An 'a Var.t is a symbol that holds values of type 'a, embedded in Elisp's Value.t via an 'a Type.t.

type 'a t = {
symbol : Ecaml.Symbol.t;
type_ : 'a Ecaml.Value.Type.t;
}
include sig ... end
val type_ : 'a t ‑> 'a Ecaml.Value.Type.t
val symbol : 'a t ‑> Ecaml.Symbol.t
module Fields : sig ... end
val sexp_of_t : ('a ‑> Sexplib.Sexp.t) ‑> 'a t ‑> Sexplib.Sexp.t
type 'a var = 'a t
val create : Ecaml.Symbol.t ‑> 'a Ecaml.Value.Type.t ‑> 'a t
module And_value : sig ... end
module And_value_option : sig ... end
val symbol_as_value : _ t ‑> Ecaml.Value.t
val default_value_exn : 'a t ‑> 'a

(describe-function 'default-value)(Info-goto-node "(elisp)Default Value")

val default_value_is_defined : _ t ‑> bool

(describe-function 'default-boundp)(Info-goto-node "(elisp)Default Value")

val set_default_value : 'a t ‑> 'a ‑> unit

(describe-function 'set-default)(Info-goto-node "(elisp)Default Value")

val make_buffer_local_always : _ t ‑> unit

(describe-function 'make-variable-buffer-local)(Info-goto-node "(elisp)Creating Buffer-Local")