branch: externals/dtache commit 99fd5c5b5c19cafa56bc1d8929cff6070a0f16ff Author: Niklas Eklund <niklas.ekl...@posteo.net> Commit: Niklas Eklund <niklas.ekl...@posteo.net>
Make sure to erase the output buffer This patch fixes the problem of not erasing the output buffer, meaning if the buffer is re-used it will start to contain multiple outputs. --- dtache.el | 1 + 1 file changed, 1 insertion(+) diff --git a/dtache.el b/dtache.el index c65c89e9bf..d6102d699b 100644 --- a/dtache.el +++ b/dtache.el @@ -264,6 +264,7 @@ (progn (with-current-buffer (get-buffer-create buffer-name) (setq-local buffer-read-only nil) + (erase-buffer) (insert (dtache-session-output session)) (setq-local default-directory (dtache--session-working-directory session)) (dtache-log-mode)