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 | e1b9f87e535a43d04a5572bed820f029213c5b13 (patch) | |
tree | 00793aa8cd7596cb0a1c1647b8307f7137193d92 /elisp/geiser-log.el | |
parent | f9ce0b6c1a4d6a84ffafe6626d79bceab0ad8f7f (diff) | |
download | geiser-e1b9f87e535a43d04a5572bed820f029213c5b13.tar.gz geiser-e1b9f87e535a43d04a5572bed820f029213c5b13.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 'elisp/geiser-log.el')
0 files changed, 0 insertions, 0 deletions