package ecaml
Module Ecaml.Customization
module Group : sig ... endmodule Type : sig ... end(Info-goto-node "(elisp)Customization Types")
val sexp_of_t :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a t ->
Ppx_sexp_conv_lib.Sexp.tval value : 'a t -> 'aval set_value : 'a t -> 'a -> unitval standard_value : 'a t -> 'aval defcustom :
?show_form:bool ->
Symbol.t ->
Core_kernel.Source_code_position.t ->
docstring:string ->
group:Group.t ->
type_:'a Ecaml_value.Value.Type.t ->
customization_type:Type.t ->
standard_value:'a ->
?on_set:('a -> unit) ->
unit ->
'a t(describe-function 'defcustom) (Info-goto-node "(elisp)Variable Definitions")
on_set, if supplied, is called when the user attempts to set the customization, either via the customization interface or via custom-set-variables. on_set can validate the input and perform other side effects needed to keep OCaml data structures in sync with the setting. If on_set raises, the customization is not set.
val customize_variable : Symbol.t -> unit(describe-function 'customize-variable) (Info-goto-node "(emacs)Specific customization")
val customize_group : Group.t -> unit(describe-function 'customize-group) (Info-goto-node "(emacs)Specific customization")
module type Enum_arg = sig ... endmodule Private : sig ... end