diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-08-18 23:46:05 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-08-18 23:46:05 +0200 |
commit | 69b30de19af8cc0d58fa177ef9d40057c15f6951 (patch) | |
tree | a4daff9d3d3d15f3b56bbac7d2026eae4bff2730 | |
parent | 5a7373cd2da209e8a58b35060c0b29bd18398957 (diff) | |
download | geiser-guile-69b30de19af8cc0d58fa177ef9d40057c15f6951.tar.gz geiser-guile-69b30de19af8cc0d58fa177ef9d40057c15f6951.tar.bz2 |
PLT: bug fix in (module) recognition.
-rw-r--r-- | elisp/geiser-plt.el | 2 |
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) |