diff options
author | Chaos Eternal <chaos@shlug.org> | 2017-08-20 22:23:38 +0800 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2017-08-28 02:54:04 +0200 |
commit | 87d8ad28396dd82920d55837cc6e8265b3f5991d (patch) | |
tree | 80097cab68a660b784d3a177a530cce8041899ad /scheme/chicken | |
parent | c8caccbadb56fd20ac77d770b03bbe2307014038 (diff) | |
download | geiser-guile-87d8ad28396dd82920d55837cc6e8265b3f5991d.tar.gz geiser-guile-87d8ad28396dd82920d55837cc6e8265b3f5991d.tar.bz2 |
Add geiser-mode-eval-to-buffer-transformer
geiser-mode-eval-to-buffer-transformer will take 2 argments:
errstring and result
when eval-to-buffer, the result will be transformed by this procedure
e.g.
(setq geiser-mode-eval-to-buffer-transformer
(lambda (estring x)
(let ((l (length x))
(p (seq-position x ?\n)))
(if (and p (< (+ 1 p) l))
(format "\n#| %s%s\n |#" estring x)
(format ";;=> %s%s" estring x)))))
Diffstat (limited to 'scheme/chicken')
0 files changed, 0 insertions, 0 deletions