Module Ecaml.Load_history
load-history is an Emacs alist that associates the names of loaded library files with the names of the functions and variables they defined, as well as the features they provided or required. This is used by find-function, find-variable, and in *Help* buffers to jump from a symbol to its definition.
(Info-goto-node "(elisp)Where Defined")
module Face = Ecaml__.Face0val defining_file : Symbol.t -> string option(describe-function 'symbol-file)
module Entry : sig ... endEntrydefines the various kinds of entries stored inload-history.
val add_entry : Core_kernel.Source_code_position.t -> Entry.t -> unitadd_entryis called by (defcustom,defun,defvar) and adds the entry to alist ref, for later use byupdate_emacs_with_entries.
val update_emacs_with_entries : chop_prefix:string -> in_dir:string -> unitupdate_emacs_with_entriesupdatesload-historywith the information supplied toadd_entry, which make it possible to, within Emacs, jump from a symbol defined by Ecaml to the Ecaml source. Each source-file name is adjusted by:Filename.concat in_dir (String.chop_prefix_exn file ~prefix:chop_prefix)
module Type : sig ... endTyperepresents the type of symbol being searched for, corresponding to theTYPEargument offind-function-search-for-symbol.
val location_exn : Symbol.t -> Type.t -> Core_kernel.Source_code_position.t