diff options
author | Peter <craven@gmx.net> | 2016-04-30 19:27:14 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2016-04-30 19:41:44 +0200 |
commit | fea631c41126998724f0af636ee5c90d980a7b34 (patch) | |
tree | dcef2b1bf7b6e702ab01c97c5532e298856132e5 /elisp/geiser-chez.el | |
parent | 349923b72a5cedd38a386df3b9e110714c033ed9 (diff) | |
download | geiser-guile-fea631c41126998724f0af636ee5c90d980a7b34.tar.gz geiser-guile-fea631c41126998724f0af636ee5c90d980a7b34.tar.bz2 |
Clean-up elisp code
Diffstat (limited to 'elisp/geiser-chez.el')
-rw-r--r-- | elisp/geiser-chez.el | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/elisp/geiser-chez.el b/elisp/geiser-chez.el index f75ba2d..56943b8 100644 --- a/elisp/geiser-chez.el +++ b/elisp/geiser-chez.el @@ -43,7 +43,6 @@ (defun geiser-chez--parameters () "Return a list with all parameters needed to start Chez Scheme. This function uses `geiser-chez-init-file' if it exists." -;; `("--load" ,(expand-file-name "chez/geiser/load.scm" geiser-scheme-dir)) `(,(expand-file-name "chez/geiser/geiser.ss" geiser-scheme-dir)) ) @@ -71,9 +70,6 @@ This function uses `geiser-chez-init-file' if it exists." (let ((form (mapconcat 'identity args " "))) (format "(geiser:%s %s)" proc form))))) -;; (defconst geiser-chez--module-re -;; ".*;; package: +\\(([^)]*)\\)") - (defun geiser-chez--get-module (&optional module) (cond ((null module) :f) @@ -84,16 +80,6 @@ This function uses `geiser-chez-init-file' if it exists." (error :f))) (t :f))) -;; (defun geiser-chez--module-cmd (module fmt &optional def) -;; (when module -;; (let* ((module (geiser-chez--get-module module)) -;; (module (cond ((or (null module) (eq module :f)) def) -;; (t (format "%s" module))))) -;; (and module (format fmt module))))) - -;; (defun geiser-chez--enter-command (module) -;; (geiser-chez--module-cmd module "(geiser:ge '%s)" "()")) - (defun geiser-chez--symbol-begin (module) (if module (max (save-excursion (beginning-of-line) (point)) @@ -114,13 +100,9 @@ This function uses `geiser-chez-init-file' if it exists." (format "%s --version" (shell-quote-argument binary)))) -;; (defconst geiser-chez--path-rx "^In \\([^:\n ]+\\):\n") (defun geiser-chez--startup (remote) (let ((geiser-log-verbose-p t)) (compilation-setup t) - ;; (when (and (stringp geiser-chez-source-directory) - ;; (not (string-empty-p geiser-chez-source-directory))) - ;; (geiser-eval--send/wait (format "(geiser:set-chez-scheme-source-directory %S)" geiser-chez-source-directory))) (geiser-eval--send/wait "(begin (import (geiser)) (write `((result ) (output . \"\"))) (newline))"))) ;;; Implementation definition: @@ -147,9 +129,6 @@ This function uses `geiser-chez-init-file' if it exists." ;; (case-sensitive geiser-chez-case-sensitive-p) ) -;; notes: (available-modules) in (chez modules) -;; (env-exports (module-env (find-module '(scheme char)))), modules: (meta) (chez modules) (chez) - (geiser-impl--add-to-alist 'regexp "\\.ss$" 'chez t) (geiser-impl--add-to-alist 'regexp "\\.def$" 'chez t) |