package ecaml
Library for writing Emacs plugin in OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=87e76473915e12d718096100a5c4d15d98aba6f99ecbf21814b7389e8c28bb25
doc/ecaml.ecaml_value/Ecaml_value/Caml_embed/index.html
Module Ecaml_value.Caml_embed
Source
Embed values of an arbitrary OCaml type 'a
in an Elisp value. The values are not transformed, so this can be used to preserve state in Emacs. More precisely, the following returns true
:
let var = Var.create symbol (Caml_embed.create_type type_id) in
Current_buffer.set_value var v;
phys_equal v (Current_buffer.value_exn var)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>