From 653f4f1bc4af904f9b889802fbfa22041caa4156 Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Mon, 7 Aug 2023 23:44:00 -0700 Subject: [PATCH] Make complete function non-exclusive This will allow other completion at point functions to run to autocomplete things like file path. Figured this out from https://github.com/minad/cape/issues/24 --- systemd.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd.el b/systemd.el index 6db0403..921a2fa 100644 --- a/systemd.el +++ b/systemd.el @@ -235,7 +235,8 @@ file, defaulting to the link under point, if any." (let ((bounds (bounds-of-thing-at-point 'symbol))) (list (or (car bounds) (point)) (or (cdr bounds) (point)) - (completion-table-dynamic #'systemd-completion-table)))) + (completion-table-dynamic #'systemd-completion-table) + :exclusive 'no))) (defun systemd-company-backend (command &optional arg &rest _ignored) "Backend for `company-mode' in `systemd-mode' buffers."