summaryrefslogtreecommitdiff
path: root/elisp
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
commit718078f1e4314b45c7b78d06b891720aab2822cb (patch)
treea44dc5db8bd1d12236e93ad667e3765170b3b9d6 /elisp
parent5c7b3550e46cb6b29a65a77b656f89523ba3fc18 (diff)
downloadgeiser-718078f1e4314b45c7b78d06b891720aab2822cb.tar.gz
geiser-718078f1e4314b45c7b78d06b891720aab2822cb.tar.bz2
PLT: bug fix in (module) recognition.
Diffstat (limited to 'elisp')
-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)