aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-02 19:04:16 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-02 20:17:13 +0300
commit56e90e310ff797fd9350f41f3f3dca1ffd09bc1f (patch)
tree16f52fd09d62d6e74b0c81bd889c58b37388d047 /gnu/packages
parent21a3de583debe1bca86bdaf537d1f97bf2ffb53f (diff)
downloadpatches-56e90e310ff797fd9350f41f3f3dca1ffd09bc1f.tar
patches-56e90e310ff797fd9350f41f3f3dca1ffd09bc1f.tar.gz
gnu: Add emacs-add-hooks.
* gnu/packages/emacs.scm (emacs-add-hooks): New public variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 714e7a390e..de50744977 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+)))