Mercurial > octave-nkf
changeset 20512:c36f06ef7539
also clear autoloaded functions when clearing user functions
* symtab.h (symbol_table::fcn_info::fcn_info_rep::clear_user_function):
Call clear_autoload_function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 02 Sep 2015 18:18:19 -0400 |
parents | 7fa1970a655d |
children | a9a1f021d96b |
files | libinterp/corefcn/symtab.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/symtab.h Thu Sep 03 16:21:08 2015 +0100 +++ b/libinterp/corefcn/symtab.h Wed Sep 02 18:18:19 2015 -0400 @@ -881,6 +881,8 @@ // "user defined" void clear_user_function (bool force = false) { + clear_autoload_function (force); + if (force || ! function_on_path.islocked ()) function_on_path = octave_value ();