From 5a330182e9e04474f42cfc023ddf0ddf53fb3e12 Mon Sep 17 00:00:00 2001 From: Brian Leung
Date: Sun, 14 Jul 2019 04:25:27 +0200 Subject: [PATCH 5/5] gnu: Add emacs-focus. * gnu/packages/emacs-xyz.scm (emacs-focus): New variable. --- gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f57214618d..2afe9d75d8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -13744,6 +13744,30 @@ viewing files with long lines.") searches with @code{ripgrep}.") (license license:gpl3+)))) +(define-public emacs-focus + (let ((commit "ab42b8779929beeb7878c7fb3d3ccd80d9327c7f") + (version "0.1.1") + (revision "1")) + (package + (name "emacs-focus") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/larstvei/Focus") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "079v1syid7h2vr2ya6hs6hl0pgj60qdsw60mqw4cj2zllmkrkwj4")))) + (build-system emacs-build-system) + (home-page "https://github.com/larstvei/Focus") + (synopsis "Minor mode for focusing in on relevant text") + (description "This package provides a minor mode that dims the color of +text in neighboring sections.") + (license license:gpl3+)))) + (define-public emacs-org-brain (package (name "emacs-org-brain") -- 2.22.0