aboutsummaryrefslogtreecommitdiff
path: root/modules/mu4e-org-contacts-setup.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mu4e-org-contacts-setup.el')
-rw-r--r--modules/mu4e-org-contacts-setup.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/modules/mu4e-org-contacts-setup.el b/modules/mu4e-org-contacts-setup.el
index 034e74574..bfb9b1f24 100644
--- a/modules/mu4e-org-contacts-setup.el
+++ b/modules/mu4e-org-contacts-setup.el
@@ -2,11 +2,17 @@
;; author: Craig Jennings <c@cjennings.net>
;;; Commentary:
-;; Simple setup file to enable org-contacts integration with mu4e.
-;; Add this to your mail-config.el or load it after both mu4e and org-contacts.
+;;
+;; Thin activation wrapper for mu4e-org-contacts-integration. If mu4e is loaded,
+;; enable org-contacts completion and disable mu4e's internal contact collector
+;; so completion has one source of truth.
;;; Code:
+(defvar mu4e-compose-complete-only-personal)
+(defvar mu4e-compose-complete-only-after)
+(declare-function cj/activate-mu4e-org-contacts-integration "mu4e-org-contacts-integration")
+
;; Load the integration module. Activation only runs when the module loaded
;; cleanly AND mu4e is present; otherwise this file is a no-op so the rest
;; of the config can load without mu4e installed.