# HG changeset patch # User Rik # Date 1551648249 28800 # Node ID 0a24e478a5b8f541b2e659b2331061a6a63478bc # Parent 86b8f498699392676053309cc20cf577570d0475 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. diff -r 86b8f4986993 -r 0a24e478a5b8 NEWS --- 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 diff -r 86b8f4986993 -r 0a24e478a5b8 scripts/miscellaneous/edit.m --- 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;