Mercurial > octave
diff libinterp/corefcn/dirfns.cc @ 27301:a2b1ba6c92d5
eliminate unnecessary application::interative function
* octave.h, octave.cc (application_interactive): Delete functions.
Change all uses to check interactive state of interpreter directly
from interpreter object.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 28 Jul 2019 17:24:42 -0400 |
parents | 99aa1bcb8848 |
children | 4164895adf79 |
line wrap: on
line diff
--- a/libinterp/corefcn/dirfns.cc Mon Jul 29 14:38:40 2019 -0700 +++ b/libinterp/corefcn/dirfns.cc Sun Jul 28 17:24:42 2019 -0400 @@ -293,7 +293,7 @@ bool doit = true; - if (octave::application::interactive () + if (interp.interactive () && ! octave::application::forced_interactive () && Vconfirm_recursive_rmdir) {