Mercurial > octave
diff libinterp/corefcn/input.cc @ 31781:3cd5c988b3f7
maint: Replace feval invocations with direct calls to Ffunction_name.
Slightly
* call-stack.cc: Add #include for "builtin-defun-decls.h".
* call-stack.cc (do_who): Replace feval for "load" with Fload ().
* input.cc (mfile_encoding): Replace feval for
"__event_manager_gui_preference__" with direct call.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 26 Jan 2023 09:50:44 -0800 |
parents | 21f9b34eb893 |
children | 9583d971e603 |
line wrap: on
line diff
--- a/libinterp/corefcn/input.cc Thu Jan 26 08:19:20 2023 -0800 +++ b/libinterp/corefcn/input.cc Thu Jan 26 09:50:44 2023 -0800 @@ -528,8 +528,7 @@ } // Synchronize the related gui preference for editor encoding - m_interpreter.feval ("__event_manager_gui_preference__", - ovl ("editor/default_encoding", m_mfile_encoding)); + F__event_manager_gui_preference__ (m_interpreter, ovl ("editor/default_encoding", m_mfile_encoding)); return retval; }