Mercurial > hg > octave-jordi
comparison src/defaults.cc @ 9134:a3739e27b017
Update section 2.4 of basics.txi
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 17 Apr 2009 16:38:34 -0700 |
parents | eb1747dbd360 |
children | b04f95fabbf9 |
comparison
equal
deleted
inserted
replaced
9133:c0cef1436788 | 9134:a3739e27b017 |
---|---|
401 DEFUN (EDITOR, args, nargout, | 401 DEFUN (EDITOR, args, nargout, |
402 "-*- texinfo -*-\n\ | 402 "-*- texinfo -*-\n\ |
403 @deftypefn {Built-in Function} {@var{val} =} EDITOR ()\n\ | 403 @deftypefn {Built-in Function} {@var{val} =} EDITOR ()\n\ |
404 @deftypefnx {Built-in Function} {@var{old_val} =} EDITOR (@var{new_val})\n\ | 404 @deftypefnx {Built-in Function} {@var{old_val} =} EDITOR (@var{new_val})\n\ |
405 Query or set the internal variable that specifies the editor to\n\ | 405 Query or set the internal variable that specifies the editor to\n\ |
406 use with the @code{edit_history} command. If the environment\n\ | 406 use with the @code{edit_history} command. The default value is taken from\n\ |
407 variable @code{EDITOR} is set when Octave starts, its\n\ | 407 the environment variable @w{@code{EDITOR}} when Octave starts. If the\n\ |
408 value is used as the default. Otherwise, @code{EDITOR} is set to\n\ | 408 enironment variable is not initialized, @w{@code{EDITOR}} will be set to\n\ |
409 @code{\"emacs\"}.\n\ | 409 @code{\"emacs\"}.\n\ |
410 @seealso{edit_history}\n\ | 410 @seealso{edit_history}\n\ |
411 @end deftypefn") | 411 @end deftypefn") |
412 { | 412 { |
413 return SET_NONEMPTY_INTERNAL_STRING_VARIABLE (EDITOR); | 413 return SET_NONEMPTY_INTERNAL_STRING_VARIABLE (EDITOR); |