Subject: [bug#31512] [PATCH 11/21] gnu: Add emacs-helm-company.

From: Pierre Neidhardt <[email-masked]>
Date: Fri, 1 Jun 2018 09:51:48 +0200

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 577ef9f99..b582ce992 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10843,3 +10843,35 @@ 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
+  (let ((commit "acc9c7901e094c1591327a0db1ec7a439f67a84d"))
+    (package
+      (name "emacs-helm-company")
+      (version (git-version "0.2.2" "1" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Sodel-the-Vociferous/helm-company")
+               (commit commit)))
+         (file-name (string-append name "-" version "-checkout"))
+         (sha256
+          (base32
+           "1d4q9clp0q56br80c21a4wz1gc4jw3mdy97z9mq07x9i8rhlppzs"))))
+      (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