summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-16 18:25:31 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-16 18:25:31 +0100
commitc81a21ac2a9a1c857a7a52d623f54f7928c0714d (patch)
treedd8cc63cfe0396886e179f49faa33a94370f2ff3 /gnu
parentab155471de7ec6dba7fe348779eb2acd7d85723d (diff)
downloadguix-c81a21ac2a9a1c857a7a52d623f54f7928c0714d.tar.gz
gnu: Add emacs-xref.
* gnu/packages/emacs-xyz.scm (emacs-xref): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8e8e2d2963..e28f798ecb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -87,6 +87,7 @@
 ;;; Copyright © 2020 Noah Landis <noahlandis@posteo.net>
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2020 André A. Gomes <andremegafone@gmail.com>
+;;; Copyright © 2020 Jonathan Rostran <rostranjj@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25790,6 +25791,25 @@ work on alists, hash-table and arrays.  All functions are prefixed with
 @code{map-}.")
     (license license:gpl3+)))
 
+(define-public emacs-xref
+  (package
+    (name "emacs-xref")
+    (version "1.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/"
+                           "xref-" version ".el"))
+       (sha256
+        (base32 "1r531gl73y1br8g4n77gxbyj26yiaw7snjad21fgs5m80cka8fi3"))))
+    (build-system emacs-build-system)
+    (home-page "http://elpa.gnu.org/packages/xref.html")
+    (synopsis "Cross-referencing commands")
+    (description
+     "This library provides a generic infrastructure for cross referencing
+commands, in particular @code{find-definition}.")
+    (license license:gpl3+)))
+
 (define-public emacs-burly
   (package
     (name "emacs-burly")