diff --git a/load.d/mu4e-company.el b/load.d/mu4e-company.el deleted file mode 100644 index 1fcf82b6..00000000 --- a/load.d/mu4e-company.el +++ /dev/null @@ -1,15 +0,0 @@ -(defun mu4e-company-contacts (command &optional input &rest ignored) - (interactive (list 'interactive)) - (cl-case command - (interactive (company-begin-backend 'mu4e-contacts-company)) - (prefix - (when (eq major-mode 'mu4e-compose-mode) - (save-excursion - (beginning-of-line) - (if (and (eq (line-number-at-pos) 2) - (looking-at "^To: *\\(.*?\\)$")) - (match-string-no-properties 1) - 'stop)))) - (candidates - (--filter (string-match-p (downcase input) (downcase it)) - mu4e~contacts-for-completion))))