* mu4e-compose: disable org-contacts when completion is enabled
This commit is contained in:
@ -234,6 +234,9 @@ appear on disk."
|
||||
(when (boundp 'completion-cycle-threshold)
|
||||
(make-local-variable 'completion-cycle-threshold)
|
||||
(setq completion-cycle-threshold mu4e~completion-cycle-treshold))
|
||||
;; disable org-contacts support, since it prevents our autocompletion
|
||||
(make-local-variable 'completion-at-point-functions)
|
||||
(remove 'org-contacts-message-complete-function completion-at-point-functions)
|
||||
(add-to-list 'completion-at-point-functions 'mu4e~compose-complete-contact)
|
||||
;; needed for emacs 23...
|
||||
(when (= emacs-major-version 23)
|
||||
|
||||
Reference in New Issue
Block a user