Mercurial > hg > octave-nkf
comparison scripts/miscellaneous/edit.m @ 12207:c37f167a816a
edit.m: As most editors open their own window, change mode to "async".
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 29 Jan 2011 16:56:42 -0500 |
parents | c792872f8942 |
children | 2dbac27e0e40 |
comparison
equal
deleted
inserted
replaced
12206:6212f303243e | 12207:c37f167a816a |
---|---|
151 persistent FUNCTION = struct ("EDITOR", cstrcat (EDITOR (), " %s"), | 151 persistent FUNCTION = struct ("EDITOR", cstrcat (EDITOR (), " %s"), |
152 "HOME", fullfile (default_home, "octave"), | 152 "HOME", fullfile (default_home, "octave"), |
153 "AUTHOR", default_user(1), | 153 "AUTHOR", default_user(1), |
154 "EMAIL", [], | 154 "EMAIL", [], |
155 "LICENSE", "GPL", | 155 "LICENSE", "GPL", |
156 "MODE", "sync", | 156 "MODE", "async", |
157 "EDITINPLACE", false); | 157 "EDITINPLACE", false); |
158 | |
159 ## Make sure the state variables survive "clear functions". | 158 ## Make sure the state variables survive "clear functions". |
160 mlock; | 159 mlock; |
161 | 160 |
162 if (nargin == 2) | 161 if (nargin == 2) |
163 switch (toupper (file)) | 162 switch (toupper (file)) |