>From 5ec5117c0cda5c69d3210a93243c060ea2930c5a Mon Sep 17 00:00:00 2001 From: Joseph LaFreniere
Date: Wed, 18 Mar 2020 20:59:09 -0500 Subject: [PATCH 2/2] gnu: Add emacs-major-mode-hydra. * gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable. gnu: Add emacs-major-mode-hydra. * gnu/packages/emacs-xyz.scm (emacs-major-mode-hydra): New variable. --- gnu/packages/emacs-xyz.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 50eec6d516..7056f0227b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -5514,6 +5514,20 @@ mode-specific key bindings. It is intended for use as a library only; see package @code{emacs-major-mode-hydra} for a user-friendly interface.") (license license:gpl3+))) +(define-public emacs-major-mode-hydra + (package + (inherit emacs-pretty-hydra) + (name "emacs-major-mode-hydra") + (propagated-inputs + `(("emacs-dash" ,emacs-dash) + ("emacs-pretty-hydra" ,emacs-pretty-hydra))) + (arguments + `(#:exclude (cons "^pretty-hydra\\.el" %default-exclude))) + (synopsis "Create nice-looking hydras") + (description + "This package provides the macro @code{pretty-hydra-define} to define +hydras with one column per group of heads."))) + (define-public emacs-ivy (package (name "emacs-ivy") -- 2.25.1