mirror of https://github.com/djcb/mu.git
mu4e: use substring when completing contacts
Make substring the first completion strategy.
This commit is contained in:
parent
a085c881ef
commit
8e43e8cac3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue