branch: externals/company
commit 22466f37e4dd3817f87b0aeec8b5d9a9ce538b98
Author: Dmitry Gutov <dmi...@gutov.dev>
Commit: Dmitry Gutov <dmi...@gutov.dev>

    Don't make company-show-doc-buffer imply explicit-action-p
---
 NEWS.md    | 1 +
 company.el | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/NEWS.md b/NEWS.md
index 2a16f0a0b7..8498d26143 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,7 @@
 
 ## Next
 
+* More `company-auto-update-doc`-related fixes.
 * Better handling of `C-g` performed inside a `doc-buffer` handler
   ([#1408](https://github.com/company-mode/company-mode/issues/1408)).
 
diff --git a/company.el b/company.el
index fe22225ead..9c632e9666 100644
--- a/company.el
+++ b/company.el
@@ -2849,7 +2849,7 @@ from the candidates list.")
 
 (defmacro company--electric-do (&rest body)
   (declare (indent 0) (debug t))
-  `(when (company-manual-begin)
+  `(when company-candidates
      (cl-assert (null company--electric-saved-window-configuration))
      (setq company--electric-saved-window-configuration 
(current-window-configuration))
      (let ((height (window-height))

Reply via email to