From d80c42a067f4eb70c9a4bc159a82912c76a99e74 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Thu, 24 Sep 2009 16:03:35 +0200 Subject: Assignment of ss files to plt as a customization. --- elisp/geiser-impl.el | 2 +- elisp/geiser-plt.el | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'elisp') diff --git a/elisp/geiser-impl.el b/elisp/geiser-impl.el index c430317..f278477 100644 --- a/elisp/geiser-impl.el +++ b/elisp/geiser-impl.el @@ -31,7 +31,7 @@ :type '(repeat symbol) :group 'geiser-implementation) -(geiser-custom--defcustom geiser-implementations-alist nil +(geiser-custom--defcustom geiser-implementations-alist '(((regexp "\\.ss$") plt)) "A map from regular expressions or directories to implementations. When opening a new file, its full path will be matched against each one of the regular expressions or directories in this map in order to diff --git a/elisp/geiser-plt.el b/elisp/geiser-plt.el index aadca41..63eb53f 100644 --- a/elisp/geiser-plt.el +++ b/elisp/geiser-plt.el @@ -157,8 +157,7 @@ This function uses `geiser-plt-init-file' if it exists." (or (save-excursion (goto-char (point-min)) (re-search-forward "#lang " nil t)) - (geiser-plt--explicit-module) - (string-equal (file-name-extension (or (buffer-file-name) "")) "ss"))) + (geiser-plt--explicit-module))) ;;; Implementation definition: -- cgit v1.2.3