branch: externals/ess commit cd85d1e1f0e897b409a948a3a4afdaffe032812e Author: Juha Itkonen <37696708+itko...@users.noreply.github.com> Commit: Martin Mächler <maech...@stat.math.ethz.ch>
Fix call to `search()` with base namespace to avoid masking ESS previously called `search()` without namespace qualification, which can cause errors when user-defined or package-defined functions override the base `search()`. --- lisp/ess-r-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ess-r-mode.el b/lisp/ess-r-mode.el index f2f533a7e9..1cf1ae504d 100644 --- a/lisp/ess-r-mode.el +++ b/lisp/ess-r-mode.el @@ -476,7 +476,7 @@ To be used as part of `font-lock-defaults' keywords." (ess-smart-operators . ess-r-smart-operators) (inferior-ess-program . inferior-ess-r-program) (inferior-ess-objects-command . inferior-ess-r-objects-command) - (inferior-ess-search-list-command . "search()\n") + (inferior-ess-search-list-command . "base::search()\n") (inferior-ess-help-command . inferior-ess-r-help-command) (inferior-ess-exit-command . "q()") (ess-error-regexp-alist . ess-r-error-regexp-alist)