From a7251f286c91a472164e8560fe1bf82d6fb05cac Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 24 Dec 2014 04:15:48 -0500 Subject: [PATCH] Delete mu4e-company.el. Turns out that mu4e has built in completion. --- dotfiles/emacs.d/load.d/mu4e-company.el | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 dotfiles/emacs.d/load.d/mu4e-company.el diff --git a/dotfiles/emacs.d/load.d/mu4e-company.el b/dotfiles/emacs.d/load.d/mu4e-company.el deleted file mode 100644 index 1fcf82b6..00000000 --- a/dotfiles/emacs.d/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))))