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
commit11ed530d2fdf41ab91bf2166bb443ff89785576d (patch)
tree1cb59f0e0e98951a9d3889f7d0592b89fa5f4207 /elisp/geiser-plt.el
parent43e8b54f94c054aa08e3d477ef4008631af13ce5 (diff)
downloadgeiser-11ed530d2fdf41ab91bf2166bb443ff89785576d.tar.gz
geiser-11ed530d2fdf41ab91bf2166bb443ff89785576d.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 ()