diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-13 20:23:43 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-02-13 20:23:43 +0100 |
commit | cfd1fdcd949b71251157acdcb8ab92d6d0c4169c (patch) | |
tree | 678fa7d5fa00ea477ad0b1c405e082d9c69c99f7 /elisp | |
parent | 4ba2141701d636a8465ea82aaecc29020f3dcde3 (diff) | |
download | geiser-cfd1fdcd949b71251157acdcb8ab92d6d0c4169c.tar.gz geiser-cfd1fdcd949b71251157acdcb8ab92d6d0c4169c.tar.bz2 |
Small improvements.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-autodoc.el | 2 | ||||
-rw-r--r-- | elisp/geiser-compile.el | 3 | ||||
-rw-r--r-- | elisp/geiser-edit.el | 2 | ||||
-rw-r--r-- | elisp/geiser-syntax.el | 11 |
4 files changed, 9 insertions, 9 deletions
diff --git a/elisp/geiser-autodoc.el b/elisp/geiser-autodoc.el index 9c3c40b..4f4a43a 100644 --- a/elisp/geiser-autodoc.el +++ b/elisp/geiser-autodoc.el @@ -79,7 +79,7 @@ when `geiser-autodoc-display-module-p' is on." (geiser-eval--send `(:gs ((:ge arguments) ,@(mapcar (lambda (f) (list 'quote (car f))) funs))) 'geiser-autodoc--function-args-cont) - nil))) + ""))) (defun geiser-autodoc--function-args-cont (ret) (let ((result (geiser-eval--retort-result ret))) diff --git a/elisp/geiser-compile.el b/elisp/geiser-compile.el index ae7d43e..bb85637 100644 --- a/elisp/geiser-compile.el +++ b/elisp/geiser-compile.el @@ -76,8 +76,7 @@ (msg (format "%s %s ..." msg path))) (message msg) (geiser-compile--display-result -;; msg (geiser-eval--send/wait `(:gs ((:ge ,op) ,path) (geiser eval)))))) - msg (geiser-eval--send/wait `(compile-file ,path))))) + msg (geiser-eval--send/wait `(:gs ((:ge ,op) ,path) (geiser eval)))))) ;;; User commands: diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index f0b854d..f34c800 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -63,7 +63,7 @@ (regexp-opt '("define" "defmacro" "define-macro" "define-syntax" "define*"))) (defsubst geiser-edit--def-re (symbol) - (format "(%s +(?%s" geiser-edit--def-re (regexp-quote (symbol-name symbol)))) + (format "(%s +(?%s\\_>" geiser-edit--def-re (regexp-quote (symbol-name symbol)))) (defsubst geiser-edit--symbol-re (symbol) (format "\\_<%s\\_>" (regexp-quote (symbol-name symbol)))) diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index c192a1f..0218f06 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -75,11 +75,12 @@ (forward-char) (let ((proc (symbol-at-point)) (arg-no 0)) - (while (< (point) p) - (forward-sexp) - (when (< (point) p) (setq arg-no (1+ arg-no)))) - (push (cons proc arg-no) data))))) - (reverse (push current data))))) + (when proc + (while (< (point) p) + (forward-sexp) + (when (< (point) p) (setq arg-no (1+ arg-no)))) + (push (cons proc arg-no) data)))))) + (reverse (if (car current) (push current data) data))))) (defun geiser-syntax--prepare-scheme-for-elisp-reader () (goto-char (point-min)) |