summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-xref.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-xref.el b/elisp/geiser-xref.el
index d8b46d0..11c815e 100644
--- a/elisp/geiser-xref.el
+++ b/elisp/geiser-xref.el
@@ -76,8 +76,8 @@
(newline))))
(defun geiser-xref--module< (xr1 xr2)
- (let ((m1 (cdr (assoc "module" xr1)))
- (m2 (cdr (assoc "module" xr2))))
+ (let ((m1 (format "%s" (cdr (assoc "module" xr1))))
+ (m2 (format "%s" (cdr (assoc "module" xr2)))))
(cond ((equal m1 m2)
(string< (format "%s" (cdr (assoc "signature" xr1)))
(format "%s" (cdr (assoc "signature" xr2)))))
@@ -92,7 +92,7 @@
(newline)
(let ((last-module))
(dolist (xref (sort xrefs 'geiser-xref--module<))
- (let ((module (cdr (assoc "module" xref))))
+ (let ((module (format "%s" (cdr (assoc "module" xref)))))
(when (not (equal module last-module))
(insert "\n In module ")
(geiser--insert-with-face (format "%s" module)