branch: externals/objed
commit b6b7c3f4cda576488543d13e633c9756e17eb322
Author: Andrew Whatson <what...@gmail.com>
Commit: Andrew Whatson <what...@gmail.com>

    Disable during a company completion
---
 objed.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/objed.el b/objed.el
index 5531650..d11ff74 100644
--- a/objed.el
+++ b/objed.el
@@ -1299,6 +1299,8 @@ See `objed-cmd-alist'."
        (not overriding-terminal-local-map)
        ;; don't activate when completing the regular Emacs way
        (not (get-buffer-window "*Completions*" 0))
+       ;; don't activate during a company completion
+       (not (bound-and-true-p company-candidates))
        ;; FIXME: temp workaround for starting commit
        ;; message in insertion mode
        (not (eq last-command 'magit-commit-create))

Reply via email to