guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: Add emacs-whitespace-cleanup-mode.


From: guix-commits
Subject: 01/04: gnu: Add emacs-whitespace-cleanup-mode.
Date: Wed, 5 Jun 2019 01:40:43 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit 68eb526c4f219ada6d64e668756856eae9eed246
Author: Brian Leung <address@hidden>
Date:   Mon Jun 3 22:14:28 2019 +0200

    gnu: Add emacs-whitespace-cleanup-mode.
    
    * gnu/packages/emacs-xyz.scm (emacs-whitespace-cleanup-mode): New variable.
    
    Signed-off-by: Oleg Pykhalov <address@hidden>
---
 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 f9f0b21..d9a2ab8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8046,6 +8046,30 @@ from within Emacs.  Restclient runs queries from a 
plan-text query sheet,
 displays results pretty-printed in XML or JSON with @code{restclient-mode}")
       (license license:public-domain))))
 
+(define-public emacs-whitespace-cleanup-mode
+  (let ((commit "72427144b054b0238a86e1348c45d986b8830d9d")
+        (revision "1"))
+    (package
+      (name "emacs-whitespace-cleanup-mode")
+      (version (git-version "0.10" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url 
"https://github.com/purcell/whitespace-cleanup-mode";)
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1zlk534jbwrsabcg3kqlzk4h4hwya60lh6q2n1v4yn4rpf5ghsag"))
+                (file-name (git-file-name name version))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/purcell/whitespace-cleanup-mode";)
+      (synopsis "Intelligently call @code{whitespace-cleanup} on save")
+      (description
+       "This package provides a minor mode that calls
address@hidden before saving the current buffer only if the
+whitespace in the buffer was initially clean.")
+      (license license:gpl3+))))
+
 (define-public emacs-eimp
   (let ((version "1.4.0")
         (commit "2e7536fe6d8f7faf1bad7a8ae37faba0162c3b4f")



reply via email to

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