summaryrefslogtreecommitdiff
path: root/elisp/geiser-plt.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-04-27 21:28:51 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-04-27 21:28:51 +0200
commit31a4bd02c78be39cdd4a58bbc286a57906a525ce (patch)
tree6f1cc852425f3dcf10bac4aae17db9baa5e5e24f /elisp/geiser-plt.el
parent71cb453f51d7cd04834916a5df0b477f9175853c (diff)
downloadgeiser-guile-31a4bd02c78be39cdd4a58bbc286a57906a525ce.tar.gz
geiser-guile-31a4bd02c78be39cdd4a58bbc286a57906a525ce.tar.bz2
Support for external help functions (and application to PLT).
Diffstat (limited to 'elisp/geiser-plt.el')
-rw-r--r--elisp/geiser-plt.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el
index aa9a901..77551c6 100644
--- a/elisp/geiser-plt.el
+++ b/elisp/geiser-plt.el
@@ -25,6 +25,7 @@
;;; Code:
(require 'geiser-impl)
+(require 'geiser-eval)
(require 'geiser-syntax)
(require 'geiser-custom)
(require 'geiser-base)
@@ -101,6 +102,12 @@ This function uses `geiser-plt-init-file' if it exists."
(t module)))
+;;; External help
+(defun geiser-plt-external-help (symbol module)
+ (message "Requesting help for '%s'..." symbol)
+ (geiser-eval--send/wait `(:eval (help ,symbol) 'geiser)))
+
+
;;; Trying to ascertain whether a buffer is mzscheme scheme:
(defun geiser-plt-guess ()