package ecaml

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.

OCaml

Innovation. Community. Security.