Function Reference
— Built-in Function: val = EDITOR ()
— Built-in Function: old_val = EDITOR (new_val)

Query or set the internal variable that specifies the editor to use with the edit_history command. If the environment variable EDITOR is set when Octave starts, its value is used as the default. Otherwise, EDITOR is set to "emacs".

See also: edit_history