aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-02 18:55:20 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-02 20:17:08 +0300
commitf8a88f223ea2ac36576cd92f457790df5a6f2408 (patch)
treed06d1be607312f1391e947096a02081a4c976b35 /gnu
parentdc58633761e72499ca2938ac462bc2e138ab5398 (diff)
downloadguix-f8a88f223ea2ac36576cd92f457790df5a6f2408.tar
guix-f8a88f223ea2ac36576cd92f457790df5a6f2408.tar.gz
gnu: Add emacs-load-relative.
* gnu/packages/emacs.scm (emacs-load-relative): New public variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 33bafe6b8e..8dd3e9dbff 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -8356,3 +8356,29 @@ region instead.")
(description "This Emacs library provides two functions that perform
schema validation.")
(license license:gpl3+)))
+
+(define-public emacs-load-relative
+ (let ((commit "738896e3da491b35399178ed2c6bc92cc728d119")
+ (revision "1"))
+ (package
+ (name "emacs-load-relative")
+ (version (string-append "0.0.1" "-" revision "."
+ (string-take commit 7)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rocky/emacs-load-relative")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1rpy5mfncncl6gqgg53d3g25g1700g4b9bivd4c0cfcv5dbxhp73"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/rocky/emacs-load-relative")
+ (synopsis "Relative loads for Emacs Lisp files")
+ (description "@code{load-relative} allows to write small Emacs
+functions or modules in a larger multi-file Emacs package and
+facilitate running from the source tree without having to install the
+code or fiddle with evil @code{load-path}.")
+ (license license:gpl3+))))