diff options
author | Case Duckworth | 2022-02-16 23:12:43 -0600 |
---|---|---|
committer | Case Duckworth | 2022-02-16 23:12:43 -0600 |
commit | 82869c1f4f4617b346d8d87a0bb37886d57cc34b (patch) | |
tree | 88771768b8d1102b7f425f10c71115bdca656b92 /init.el | |
parent | Use better org faces (diff) | |
download | emacs-82869c1f4f4617b346d8d87a0bb37886d57cc34b.tar.gz emacs-82869c1f4f4617b346d8d87a0bb37886d57cc34b.zip |
Add ecomplete
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) |