summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2017-03-29 12:40:04 +0530
committerLudovic Courtès <ludo@gnu.org>2017-03-30 11:15:17 +0200
commitc86c19914a2a892f57d0c601e2f1c4f86f64a7a4 (patch)
treef6ea155339d1cc85f2e3816c9a5d81a96b8ff9a3 /gnu/packages
parent239cf024b4200ce74bb0d437437903c1298343d3 (diff)
downloadguix-c86c19914a2a892f57d0c601e2f1c4f86f64a7a4.tar.gz
gnu: Add emacs-linum-relative.
* gnu/packages/emacs.scm (emacs-linum-relative): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 4e2d2561ab..cb2792f63e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3963,6 +3963,27 @@ abbreviation and automatically expand it into function templates.")
 memoizing functions.")
    (license license:unlicense)))
 
+(define-public emacs-linum-relative
+  (package
+    (name "emacs-linum-relative")
+    (version "0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/coldnew/linum-relative/archive/"
+             version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0s4frvr27866lw1rn3jal9wj5rkz9fx4yiszqv7w06azsdgsqksv"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/coldnew/linum-relative")
+    (synopsis "Relative line numbering for Emacs")
+    (description "@code{emacs-linum-relative} displays the relative line
+number on the left margin in Emacs.")
+    (license license:gpl2+)))
+
 (define-public emacs-idle-highlight
   (package
     (name "emacs-idle-highlight")