guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: Add emacs-rainbow-mode.


From: Roel Janssen
Subject: 01/01: gnu: Add emacs-rainbow-mode.
Date: Wed, 24 May 2017 18:56:08 -0400 (EDT)

roelj pushed a commit to branch master
in repository guix.

commit 9619a95ed8bbc400af6536e9619cf9c65a5833eb
Author: Roel Janssen <address@hidden>
Date:   Thu May 25 00:55:22 2017 +0200

    gnu: Add emacs-rainbow-mode.
    
    * gnu/packages/emacs.scm (emacs-rainbow-mode): New variable.
---
 gnu/packages/emacs.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a59a4ca..8c3950d 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3248,6 +3248,25 @@ identifiers based on their names.  Each identifier gets 
a color based on a hash
 of its name.")
     (license license:bsd-2)))
 
+(define-public emacs-rainbow-mode
+  (package
+    (name "emacs-rainbow-mode")
+    (version "0.12")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://elpa.gnu.org/packages/rainbow-mode-"; version 
".el"))
+              (sha256
+               (base32
+                "10a7qs7fvw4qi4vxj9n56j26gjk61bl79dgz4md1d26slb2j1c04"))))
+    (build-system emacs-build-system)
+    (home-page "http://elpa.gnu.org/packages/rainbow-mode.html";)
+    (synopsis "Colorize color names in buffers")
+    (description
+     "This minor mode sets background color to strings that match color
+names, e.g. #0000ff is displayed in white with a blue background.")
+    (license license:gpl3+)))
+
 (define-public emacs-visual-fill-column
   (package
     (name "emacs-visual-fill-column")



reply via email to

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