summaryrefslogtreecommitdiff
path: root/modules/mu4e-org-contacts-setup.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2025-10-12 11:47:26 -0500
committerCraig Jennings <c@cjennings.net>2025-10-12 11:47:26 -0500
commit092304d9e0ccc37cc0ddaa9b136457e56a1cac20 (patch)
treeea81999b8442246c978b364dd90e8c752af50db5 /modules/mu4e-org-contacts-setup.el
changing repositories
Diffstat (limited to 'modules/mu4e-org-contacts-setup.el')
-rw-r--r--modules/mu4e-org-contacts-setup.el24
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/mu4e-org-contacts-setup.el b/modules/mu4e-org-contacts-setup.el
new file mode 100644
index 00000000..9936de95
--- /dev/null
+++ b/modules/mu4e-org-contacts-setup.el
@@ -0,0 +1,24 @@
+;;; mu4e-org-contacts-setup.el --- Setup mu4e with org-contacts -*- lexical-binding: t; -*-
+;; 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.
+
+;;; Code:
+
+;; Load the integration module
+(require 'mu4e-org-contacts-integration)
+
+;; Activate the integration
+(cj/activate-mu4e-org-contacts-integration)
+
+;; Optional: If you want to use org-contacts as the primary source,
+;; you might want to disable mu4e's contact caching to save memory
+(with-eval-after-load 'mu4e
+ ;; Disable mu4e's internal contact collection
+ (setq mu4e-compose-complete-only-personal nil)
+ (setq mu4e-compose-complete-only-after nil))
+
+(provide 'mu4e-org-contacts-setup)
+;;; mu4e-org-contacts-setup.el ends here \ No newline at end of file