Mercurial > octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
31780:148ca3633be2 | 31781:3cd5c988b3f7 |
---|---|
526 } | 526 } |
527 | 527 |
528 } | 528 } |
529 | 529 |
530 // Synchronize the related gui preference for editor encoding | 530 // Synchronize the related gui preference for editor encoding |
531 m_interpreter.feval ("__event_manager_gui_preference__", | 531 F__event_manager_gui_preference__ (m_interpreter, ovl ("editor/default_encoding", m_mfile_encoding)); |
532 ovl ("editor/default_encoding", m_mfile_encoding)); | |
533 | 532 |
534 return retval; | 533 return retval; |
535 } | 534 } |
536 | 535 |
537 // Get part of the directory that would be added to the load path | 536 // Get part of the directory that would be added to the load path |