diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-06-10 00:06:55 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-06-10 00:06:55 +0200 |
commit | a8b84d1ac006a2443b6ed7c5dc90b34f3d2fc917 (patch) | |
tree | 75867e4844db6d7c6fe127119d1213fc3a2c5789 /elisp | |
parent | 221967d40883c86dc59cb748a654fc9f2c045426 (diff) | |
download | geiser-a8b84d1ac006a2443b6ed7c5dc90b34f3d2fc917.tar.gz geiser-a8b84d1ac006a2443b6ed7c5dc90b34f3d2fc917.tar.bz2 |
racket: new ,geiser-load command in REPL
... and used also internally for C-c C-k, although it doesn't yet work
as well as i wanted when it comes to load modules. The reason is
probably in geiser/enter, where we don't record modification times per
submodule but per path, which is not correct in the presence of submodules.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-syntax.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el index 42e265e..d790734 100644 --- a/elisp/geiser-syntax.el +++ b/elisp/geiser-syntax.el @@ -202,6 +202,9 @@ implementation-specific entries for font-lock-keywords.") (save-excursion (insert string)) (cons (ignore-errors (geiser-syntax--read)) (point)))))) +(defun geiser-syntax--form-from-string (s) + (car (geiser-syntax--read-from-string s))) + (defsubst geiser-syntax--form-after-point (&optional boundary) (let ((geiser-syntax--read/buffer-limit (and (numberp boundary) boundary))) (save-excursion (values (geiser-syntax--read) (point))))) |