Subject: [PATCH 10/20] gnu: Add emacs-helm-company.

From: Pierre Neidhardt <[email-masked]>
Date: Tue, 22 May 2018 12:41:23 +0200

* gnu/packages/emacs.scm (emacs-helm-company): New variable.
---
 gnu/packages/emacs.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 595be5bbf..f68b280f0 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10754,3 +10754,34 @@ Default UI or Smooth UI.  Please read the source of
 @code{google-translate-default-ui.el} and @code{google-translate-smooth-ui.el}
 for more details.")
     (license license:gpl3+)))
+
+(define-public emacs-helm-company
+  (package
+    (name "emacs-helm-company")
+    (version "20180213.1405")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://melpa.org/packages/helm-company-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "02b0s24rjjj36c95zrl2vysbh9pcx70rja0n7k0vys7n4hwwm648"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-helm" ,emacs-helm)
+       ("emacs-company" ,emacs-company)))
+    (home-page
+     "https://github.com/Sodel-the-Vociferous/helm-company")
+    (synopsis "Helm interface for company-mode")
+    (description
+     "Add the following to your Emacs init file:
+@code{
+(autoload 'helm-company \"helm-company\") ;; Not necessary if using ELPA package
+(eval-after-load 'company
+  '(progn
+     (define-key company-mode-map (kbd \"C-:\") 'helm-company)
+     (define-key company-active-map (kbd \"C-:\") 'helm-company)))}")
+    (license license:gpl3+)))
-- 
2.17.0