Mercurial > octave
changeset 26828:0a24e478a5b8
edit.m: Change default for option "editinplace" to true (bug #41278).
* NEWS: Announce change.
* edit.m: Change default for option "editinplace" to true. Change
documentation to reflect change.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 03 Mar 2019 13:24:09 -0800 |
parents | 86b8f4986993 |
children | fab67369e802 |
files | NEWS scripts/miscellaneous/edit.m |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Sun Mar 03 19:47:10 2019 +0000 +++ b/NEWS Sun Mar 03 13:24:09 2019 -0800 @@ -23,6 +23,10 @@ Matlab compatible. If necessary use the "-loose" option to reproduce figures as they appeared in previous versions of Octave. + ** The edit function option "editinplace" now defaults to true. Files + will no longer be copied to the user's HOME directory for editing + and then copied back to their original location. + ** New functions added in Octave 6: lightangle
--- a/scripts/miscellaneous/edit.m Sun Mar 03 19:47:10 2019 +0000 +++ b/scripts/miscellaneous/edit.m Sun Mar 03 13:24:09 2019 -0800 @@ -114,7 +114,7 @@ ## ## @item editinplace ## Determines whether files should be edited in place, without regard to -## whether they are modifiable or not. The default is @code{false}. +## whether they are modifiable or not. The default is @code{true}. ## @end table ## @end deftypefn @@ -133,7 +133,7 @@ "EMAIL", [], "LICENSE", "GPL", "MODE", "async", - "EDITINPLACE", false); + "EDITINPLACE", true); ## Make sure the stateval variables survive "clear functions". mlock;