diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 02:29:25 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-26 02:29:25 +0100 |
commit | 1b36531863a45d1ba714b21500069bc6319ee31f (patch) | |
tree | ccffdc75336dd5780afff38029f874a62b493f79 /elisp | |
parent | 68146cf214ef1e58f1805281a946a8c8f0d8a436 (diff) | |
download | geiser-1b36531863a45d1ba714b21500069bc6319ee31f.tar.gz geiser-1b36531863a45d1ba714b21500069bc6319ee31f.tar.bz2 |
Racket: more information in symbol documentation
When the symbol is imported and re-exported by a second module, we
display its definition name and original module, besides the name of
the module re-exporting it.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-doc.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el index b6a19e9..37c069e 100644 --- a/elisp/geiser-doc.el +++ b/elisp/geiser-doc.el @@ -274,10 +274,10 @@ help (e.g. browse an HTML page) implementing this method.") (geiser-eval--send/result `(:eval (:ge module-exports '(:module ,module)) :f))) -(defun geiser-doc--buttonize-module (impl) +(defun geiser-doc--buttonize-modules (impl) (save-excursion (goto-char (point-min)) - (when (re-search-forward "in module \\([^.\n]+\\)\\." nil t) + (while (re-search-forward "in module \\([^.\n]+\\)\\b" nil t) (geiser-doc--make-module-button (match-beginning 1) (match-end 1) (geiser-doc--module (match-string 1) @@ -298,7 +298,7 @@ help (e.g. browse an HTML page) implementing this method.") (cdr (assoc 'signature ds)))) (newline) (insert (or (cdr (assoc 'docstring ds)) "")) - (geiser-doc--buttonize-module impl) + (geiser-doc--buttonize-modules impl) (setq geiser-doc--buffer-link (geiser-doc--history-push (geiser-doc--make-link symbol module |