Initially edit/1
uses the editor specified in the EDITOR
environment
variable. There are two ways to force it to use the built-in editor. One
is to set the Prolog flag editor
to
pce_emacs
and the other is by starting the editor
explicitly using the emacs/[0,1] predicates.