diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-06-18 17:41:18 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-06-18 17:41:18 +0200 |
commit | a16ac6bd5df86e3541892982d7694f7c1385c5e9 (patch) | |
tree | a90f418d781fddf4c13123a4e5980e3d1e82ab3e | |
parent | 210bae902ad7450d1284e27672526a6d7f95ad94 (diff) | |
download | geiser-guile-a16ac6bd5df86e3541892982d7694f7c1385c5e9.tar.gz geiser-guile-a16ac6bd5df86e3541892982d7694f7c1385c5e9.tar.bz2 |
PLT: Bug fix in implementation guessing.
-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 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) |