diff options
author | Brian Leung <bkleung89@gmail.com> | 2019-06-03 22:14:28 +0200 |
---|---|---|
committer | Oleg Pykhalov <go.wigust@gmail.com> | 2019-06-05 08:37:16 +0300 |
commit | 68eb526c4f219ada6d64e668756856eae9eed246 (patch) | |
tree | 9a32faae40fbd803628cae017efeb5fbf6766a38 | |
parent | 08ad44975386ecaea2bccc6523c951439b3c477e (diff) | |
download | patches-68eb526c4f219ada6d64e668756856eae9eed246.tar patches-68eb526c4f219ada6d64e668756856eae9eed246.tar.gz |
gnu: Add emacs-whitespace-cleanup-mode.
* gnu/packages/emacs-xyz.scm (emacs-whitespace-cleanup-mode): New variable.
Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index f9f0b2156f..d9a2ab836c 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 +@code{whitespace-cleanup} 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") |