Hemlock is the text editor used in Clozure CL. It was originally based on the CMU Hemlock editor, but has since diverged from it in various ways. We continue to call the editor part of our IDE Hemlock to give credit where credit is due, but we make no attempt at source or API compatibility with the original Hemlock.
Like the code, this documentation is based on the original Hemlock documentation, modified as necessary.
Hemlock follows in the tradition of Emacs-compatible editors, with a rich set of extensible commands. This document describes the API for implementing new commands. The basic editor consists of a set of Lisp utility functions for manipulating buffers and the other data structures of the editor. All user level commands are written in terms of these functions. To find out how to define commands see Commands.