diff src/defaults.cc @ 3368:a4cd1e9d9962

[project @ 1999-11-20 17:22:48 by jwe]
author jwe
date Sat, 20 Nov 1999 17:23:01 +0000
parents 15cddaacbc2d
children 86873384cd10
line wrap: on
line diff
--- a/src/defaults.cc	Sat Nov 20 14:52:42 1999 +0000
+++ b/src/defaults.cc	Sat Nov 20 17:23:01 1999 +0000
@@ -416,7 +416,13 @@
 symbols_of_defaults (void)
 {
   DEFVAR (EDITOR, Veditor, editor,
-    "name of the editor to be invoked by the edit_history command");
+    "-*- texinfo -*-\n\
+@defvr {Built-in Variable} EDITOR\n\
+A string naming the editor to use with the @code{edit_history} command.\n\
+If the environment variable @code{EDITOR} is set when Octave starts, its\n\
+value is used as the default.  Otherwise, @code{EDITOR} is set to\n\
+@code{\"emacs\"}.\n\
+@end defvr");
 
   DEFVAR (EXEC_PATH, Vexec_path, exec_path,
     "-*- texinfo -*-\n\