package ecaml

  1. Overview
  2. Docs
Library for writing Emacs plugin in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ecaml-v0.16.0.tar.gz
sha256=d9c6f98e7b0906a7e3d332d1a30fe950b59586b860e4f051348ea854c3ae3434

doc/ecaml.ecaml_test_helpers/Ecaml_test_helpers/index.html

Module Ecaml_test_helpersSource

Sourcemodule Buffer_helper : module type of Buffer_helper
Sourceval press : ?and_show:bool -> ?show_point:bool -> string -> unit Async.Deferred.t

Run the given key sequence, and then display the current buffer.

Sourceval press_and_show_minibuffer : ?show_contents:bool -> string -> unit Async.Deferred.t

Run the given key sequence, and then show the following:

  • minibuffer prompt
  • minibuffer contents, unless show_contents = false
  • *Completions* buffer, if any
Sourceval show : ?show_point:bool -> unit -> unit

Display the current buffer.

Sourceval eval : string -> unit Async.Deferred.t

Evaluate an elisp expression and display the resulting value.

Sourceval print_files_that_loaded_cl : unit -> unit Async.Deferred.t

Print a list of files that loaded the cl package, which is deprecated.

In emacs 27.1, loading package cl causes a deprecated-package warning, which would show up as spurious output in every expect test. This helper can be used whenever such output appears, to help find the culprit.