guix-commits
[Top][All Lists]
Advanced

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

09/17: gnu: Add emacs-mode-line-bell.


From: guix-commits
Subject: 09/17: gnu: Add emacs-mode-line-bell.
Date: Sun, 23 Jul 2023 03:51:26 -0400 (EDT)

lilyp pushed a commit to branch master
in repository guix.

commit 4b83e94bd83c96da027df313e9e585c943101ffd
Author: Ahmad Draidi <a.r.draidi@redscript.org>
AuthorDate: Fri Jul 14 22:10:41 2023 +0400

    gnu: Add emacs-mode-line-bell.
    
    * gnu/packages/emacs-xyz.scm (emacs-mode-line-bell): New variable.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 86869adadf..6c32f4140a 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7547,6 +7547,28 @@ Also included are keybindings for spec files and Dired 
buffers, as well as
 snippets for yasnippet.")
       (license license:gpl3+))))
 
+(define-public emacs-mode-line-bell
+  (package
+    (name "emacs-mode-line-bell")
+    (version "0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/purcell/mode-line-bell";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "13n3di05lgqfm4f8krn3p36yika5znhymp5vr2d747x54hqmgh7y"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/purcell/mode-line-bell";)
+    (synopsis "Flash the mode-line instead of ringing the bell")
+    (description
+     "This Emacs package provides a global minor mode 
@code{mode-line-bell-mode}
+which sets @code{ring-bell-function} to a function that will briefly flash the
+mode-line when the bell is rung.")
+    (license license:gpl3+)))
+
 (define-public emacs-mode-line-idle
   ;; Package has no release.  Version is extracted from "Version:" keyword in
   ;; main file.



reply via email to

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