Mercurial > hg > octave-nkf
changeset 17738:0cfdb818ccb8
* edit.m: update documentation, new files are created in current directory
author | Torsten <ttl@justmail.de> |
---|---|
date | Wed, 23 Oct 2013 21:03:00 +0200 |
parents | d3bb7f1e3971 |
children | 0640892429a8 |
files | scripts/miscellaneous/edit.m |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/edit.m +++ b/scripts/miscellaneous/edit.m @@ -44,15 +44,15 @@ ## @item ## If @code{@var{name}.cc} is specified, then it will search for ## @code{@var{name}.cc} in the path and try to modify it, otherwise it will -## create a new @file{.cc} file in @env{HOME}. If @var{name} happens to be an -## m-file or interpreter defined function, then the text of that +## create a new @file{.cc} file in the current directory. If @var{name} happens +## to be an m-file or interpreter defined function, then the text of that ## function will be inserted into the .cc file as a comment. ## ## @item ## If @file{@var{name}.ext} is on your path then it will be edited, otherwise -## the editor will be started with @file{@env{HOME}/@var{name}.ext} as the -## filename. If @file{@var{name}.ext} is not modifiable, it will be copied to -## @env{HOME} before editing. +## the editor will be started with @file{@var{name}.ext} in the current +## directory as the filename. If @file{@var{name}.ext} is not modifiable, +## it will be copied to @env{HOME} before editing. ## ## @strong{Warning:} You may need to clear @var{name} before the new definition ## is available. If you are editing a .cc file, you will need