# HG changeset patch # User John W. Eaton # Date 1441232299 14400 # Node ID c36f06ef75392a8ea1f0e96099ac34637aaf6012 # Parent 7fa1970a655de29862d28b361545291b2238c0d6 also clear autoloaded functions when clearing user functions * symtab.h (symbol_table::fcn_info::fcn_info_rep::clear_user_function): Call clear_autoload_function. diff -r 7fa1970a655d -r c36f06ef7539 libinterp/corefcn/symtab.h --- 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 ();