summaryrefslogtreecommitdiff
path: root/elisp/geiser-plt.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-08-18 23:46:05 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-08-18 23:46:05 +0200
commit69b30de19af8cc0d58fa177ef9d40057c15f6951 (patch)
treea4daff9d3d3d15f3b56bbac7d2026eae4bff2730 /elisp/geiser-plt.el
parent5a7373cd2da209e8a58b35060c0b29bd18398957 (diff)
downloadgeiser-chez-69b30de19af8cc0d58fa177ef9d40057c15f6951.tar.gz
geiser-chez-69b30de19af8cc0d58fa177ef9d40057c15f6951.tar.bz2
PLT: bug fix in (module) recognition.
Diffstat (limited to 'elisp/geiser-plt.el')
-rw-r--r--elisp/geiser-plt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el
index b497d05..8810250 100644
--- a/elisp/geiser-plt.el
+++ b/elisp/geiser-plt.el
@@ -111,7 +111,7 @@ This function uses `geiser-plt-init-file' if it exists."
:f)))
(defun geiser-plt-get-module (&optional module)
- (cond ((and (null module) (geiser-plt--explicit-module)))
+ (cond ((and (null module) (buffer-file-name))) ;; (geiser-plt--explicit-module)
((null module) (geiser-plt--implicit-module))
((symbolp module) module)
((and (stringp module) (file-name-absolute-p module)) module)