guix-commits
[Top][All Lists]
Advanced

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

45/88: gnu: Add emacs-add-hooks.


From: Oleg Pykhalov
Subject: 45/88: gnu: Add emacs-add-hooks.
Date: Wed, 2 May 2018 13:21:12 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit 56e90e310ff797fd9350f41f3f3dca1ffd09bc1f
Author: Oleg Pykhalov <address@hidden>
Date:   Wed May 2 19:04:16 2018 +0300

    gnu: Add emacs-add-hooks.
    
    * gnu/packages/emacs.scm (emacs-add-hooks): New public variable.
---
 gnu/packages/emacs.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 714e7a3..de50744 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -9160,3 +9160,23 @@ The default setup uses helm-bibtex.
 
 You should really read org-ref.org in this package for details.")
       (license license:gpl3+))))
+
+(define-public emacs-add-hooks
+  (package
+    (name "emacs-add-hooks")
+    (version "3.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/nickmccurdy/add-hooks/archive/";
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "03a28gb3298g7pc2qji9hi44p4d99ljp5mpi9cmg42ldv8fl6549"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/nickmccurdy/add-hooks/";)
+    (synopsis "Emacs function for setting multiple hooks")
+    (description "This package provides a @code{add-hooks} function tidies up
+duplicate hook and function names further into a single declarative call.")
+    (license license:gpl3+)))



reply via email to

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