summaryrefslogtreecommitdiff
path: root/elisp/geiser-plt.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-06-18 17:41:18 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-06-18 17:41:18 +0200
commitb6723f8fe425bde252ef02936f8864e3bef3aa53 (patch)
treece6fc9ba1a753c88d9629a2e1f31007efb91ffcd /elisp/geiser-plt.el
parent222d885b124798234e5e736b25a24a87918db49b (diff)
downloadgeiser-b6723f8fe425bde252ef02936f8864e3bef3aa53.tar.gz
geiser-b6723f8fe425bde252ef02936f8864e3bef3aa53.tar.bz2
PLT: Bug fix in implementation guessing.
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 2fbfb22..b497d05 100644
--- a/elisp/geiser-plt.el
+++ b/elisp/geiser-plt.el
@@ -171,7 +171,7 @@ This function uses `geiser-plt-init-file' if it exists."
(goto-char (point-min))
(re-search-forward "#lang " nil t))
(geiser-plt--explicit-module)
- (string-equal (file-name-extension (buffer-file-name)) "ss")))
+ (string-equal (file-name-extension (or (buffer-file-name) "")) "ss")))
(provide 'geiser-plt)