summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-04-05 12:05:04 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-04-05 12:05:04 +0200
commit9f2516cd6aa09b6297088aa56aa5dd42d9761b5a (patch)
tree9b38894b0792094cb45d2e550dc28daae16b1179
parent529035ce32fe7fec27edd8e9fbce651d1e9aaf34 (diff)
downloadgeiser-chez-9f2516cd6aa09b6297088aa56aa5dd42d9761b5a.tar.gz
geiser-chez-9f2516cd6aa09b6297088aa56aa5dd42d9761b5a.tar.bz2
Bug fix.
-rw-r--r--elisp/geiser-xref.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/elisp/geiser-xref.el b/elisp/geiser-xref.el
index 57d006d..bcee443 100644
--- a/elisp/geiser-xref.el
+++ b/elisp/geiser-xref.el
@@ -76,7 +76,8 @@
:type 'geiser-xref--button
'location location
'name (car signature)
- 'help-echo (format "%s in %s" (car signature) file))
+ 'help-echo (format "%s in %s" (car signature)
+ file))
(insert (format "%s" signature)))
(fill-region p (point))
(save-excursion (goto-char p) (indent-sexp))
@@ -116,14 +117,17 @@
(and name (format "%s" name))))
(defun geiser-xref--fetch-xrefs (ask kind rkind proc)
- (let* ((name (geiser-xref--read-name (format "%s: " (capitalize kind)) ask))
+ (let* ((name (geiser-xref--read-name ask (format "%s: " (capitalize kind))))
(res (and name (geiser-eval--send/result
`(:eval ((:ge ,proc) (quote (:scm ,name))))))))
(message "Retrieving %ss list for '%s'..." rkind name)
(if (or (not res) (not (listp res)))
(message "No %ss found for '%s'" rkind name)
(message "")
- (geiser-xref--display-xrefs (format "%ss for '%s'" (capitalize rkind) name) res))))
+ (geiser-xref--display-xrefs (format "%ss for '%s'"
+ (capitalize rkind)
+ name)
+ res))))
;;; Buffer and mode: