mu4e: use substring when completing contacts

Make substring the first completion strategy.
This commit is contained in:
djcb 2015-12-30 17:42:08 +02:00
parent a085c881ef
commit 8e43e8cac3
1 changed files with 1 additions and 2 deletions

View File

@ -293,11 +293,10 @@ Ie. either 'name <email>' or 'email')."
"Set up auto-completion of addresses."
(set (make-local-variable 'completion-ignore-case) t)
(set (make-local-variable 'completion-cycle-threshold) 7)
(add-to-list (make-local-variable 'completion-styles) 'substring t)
(add-to-list (make-local-variable 'completion-styles) 'substring)
(add-hook 'completion-at-point-functions
'mu4e~compose-complete-contact nil t))
(defun mu4e~remove-refs-maybe ()
"Remove the References: header if the In-Reply-To header is
missing. This allows the user to effectively start a new