branch: externals/company commit c5c3b679a8362f74c9bd5d7cf6c122d5da535cd5 Author: Dmitry Gutov <dgu...@yandex.ru> Commit: Dmitry Gutov <dgu...@yandex.ru>
Minor touches --- NEWS.md | 3 ++- company.el | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 4b5c254..7801b22 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,8 @@ ## Next +* `company-select-mouse` is a new frontend action + ([#1045](https://github.com/company-mode/company-mode/pull/1045)). * `company-gtags` on remote hosts is improved ([#1037](https://github.com/company-mode/company-mode/pull/1037)). * New commands `company-select-first` and `company-select-last`. @@ -27,7 +29,6 @@ ## 2020-07-26 (0.9.13) -* `company-select-mouse` is now a frontend action. * `company-clang`: error handling is more permissive. * `company-tng` stops disabling `post-completion` in backends ([#946](https://github.com/company-mode/company-mode/pull/946)). Instead, diff --git a/company.el b/company.el index ec0745c..37ccac8 100644 --- a/company.el +++ b/company.el @@ -2159,7 +2159,7 @@ For use in the `select-mouse' frontend action. `let'-bound.") "Select the candidate picked by the mouse." (interactive "e") (or (let ((company-mouse-event event)) - (cl-position-if #'identity (company-call-frontends 'select-mouse))) + (cl-some #'identity (company-call-frontends 'select-mouse))) (progn (company-abort) (company--unread-this-command-keys)