guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Pierre Neidhardt
Subject: [bug#31512] [PATCH 11/21] gnu: emacs-helm-company: New variable.
Date: Fri, 18 May 2018 20:49:03 +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 ce5f9bdb8..9f86dd6c7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -10751,3 +10751,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:
address@hidden
+(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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]