diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/init.el b/init.el index b8d365c..af6daeb 100644 --- a/init.el +++ b/init.el | |||
@@ -93,6 +93,19 @@ | |||
93 | (:with-mode Custom-mode | 93 | (:with-mode Custom-mode |
94 | (:local-set imenu-generic-expression +cus-edit-imenu-generic-expression))) | 94 | (:local-set imenu-generic-expression +cus-edit-imenu-generic-expression))) |
95 | 95 | ||
96 | (setup (:require ecomplete) | ||
97 | (:also-load +ecomplete) | ||
98 | (:option message-mail-alias-type 'ecomplete | ||
99 | message-self-insert-commands nil | ||
100 | message-expand-name-standard-ui t) | ||
101 | (with-eval-after-load 'ecomplete | ||
102 | (:option completion-category-defaults nil) | ||
103 | (with-eval-after-load 'embark | ||
104 | (:bind-into embark-email-map | ||
105 | "+" #'+ecomplete-add-email | ||
106 | "\\" #'+ecomplete-remove-email))) | ||
107 | (add-hook 'message-sent-hook #'message-put-addresses-in-ecomplete)) | ||
108 | |||
96 | (setup (:require goto-addr) | 109 | (setup (:require goto-addr) |
97 | (if (fboundp #'global-goto-address-mode) | 110 | (if (fboundp #'global-goto-address-mode) |
98 | (global-goto-address-mode) | 111 | (global-goto-address-mode) |