Mercurial > octave-nkf
diff scripts/miscellaneous/edit.m @ 19628:fe689210525c gui-release
maint: Periodic merge of stable to gui-release.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 20 Jan 2015 10:05:42 -0500 |
parents | 832ecfda1d3c 446c46af4b42 |
children | 0e1f5a750d00 |
line wrap: on
line diff
--- a/scripts/miscellaneous/edit.m Mon Jan 19 07:04:12 2015 +0100 +++ b/scripts/miscellaneous/edit.m Tue Jan 20 10:05:42 2015 -0500 @@ -141,7 +141,7 @@ ## User has supplied one arg, this can be a single file name ## or a cell array of strings containing multiple files to be opened if (iscellstr (varargin{1})) - ## If first arg is a cell array of strings, + ## If first arg is a cell array of strings, ## it becomes the list of files to be edited editfilelist = varargin{1}; elseif (ischar (varargin{1})) @@ -240,7 +240,7 @@ endfor else - + ## Only one file name was supplied, get it from the cell array file = tilde_expand (editfilelist{1}); @@ -502,7 +502,7 @@ fclose (fid); do_edit (FUNCTION.EDITOR, fileandpath, FUNCTION.MODE); - + endif endfunction