guix-commits
[Top][All Lists]
Advanced

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

06/08: gnu: Add emacs-load-relative.


From: Ludovic Courtès
Subject: 06/08: gnu: Add emacs-load-relative.
Date: Mon, 5 Feb 2018 10:56:25 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit fa1a17b78631681a23ae1fb7b1f902148bbebdbb
Author: Maxim Cournoyer <address@hidden>
Date:   Sun Feb 4 22:02:44 2018 -0500

    gnu: Add emacs-load-relative.
    
    * gnu/packages/emacs.scm (emacs-load-relative): New public variable.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f29e289..9c1392a 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3186,6 +3186,30 @@ alleviates the need for context macros, enclosing 
specifications or required
 test tags.  It supports both interactive and non-interactive use.")
     (license license:gpl3+)))
 
+(define-public emacs-load-relative
+  (package
+    (name "emacs-load-relative")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/load-relative-";
+                           version ".el"))
+       (sha256
+        (base32
+         "1hfxb2436jdsi9wfmsv47lkkpa5galjf5q81bqabbsv79rv59dps"))))
+    (build-system emacs-build-system)
+    (home-page "http://github.com/rocky/emacs-load-relative";)
+    (synopsis "Emacs Lisp relative file loading related functions")
+    (description
+     "Provides functions which facilitate writing multi-file Emacs packages
+and running from the source tree without having to \"install\" code or fiddle
+with @{load-path}.
+
+The main function, @code{load-relative}, loads an Emacs Lisp file relative to
+another (presumably currently running) Emacs Lisp file.")
+    (license license:gpl3+)))
+
 (define-public emacs-request
   (package
     (name "emacs-request")



reply via email to

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