summaryrefslogtreecommitdiff
path: root/elisp
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
commita16ac6bd5df86e3541892982d7694f7c1385c5e9 (patch)
treea90f418d781fddf4c13123a4e5980e3d1e82ab3e /elisp
parent210bae902ad7450d1284e27672526a6d7f95ad94 (diff)
downloadgeiser-chez-a16ac6bd5df86e3541892982d7694f7c1385c5e9.tar.gz
geiser-chez-a16ac6bd5df86e3541892982d7694f7c1385c5e9.tar.bz2
PLT: Bug fix in implementation guessing.
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 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)