Skip to content

Creating Types

To define or redefine a single Hyperbole type, you may either:

  • move your Emacs point to within the type definition and use {C-M-x} (eval-defun) (only works in Emacs Lisp mode);
  • or move your point to the end of the last line of the type definition and use {C-x C-e} (eval-last-sexp) (works in most modes).

The functions from the ‘htype’ class may be applied to any Hyperbole types, if needed.

The following subsections explain the specifics of Hyperbole type definitions which are beyond standard practice for Emacs Lisp programming. See the definitions of the standard types in hactypes.el and hibtypes.el for examples.