From 82778e4d10d15e217afc6c846ca7b183fd76fd4f Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 25 Oct 2018 15:11:13 +0900 Subject: [PATCH] Update --- emacs.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 7536d86..24b14f5 100644 --- a/emacs.el +++ b/emacs.el @@ -1974,11 +1974,13 @@ Return that buffer." (defun awk-preview-commit () "Exit awk-preview and update buffer." - (interactive)) + (interactive) + (awk-preview--cleanup)) (defun awk-preview-abort () "Discard result and exit awk-preview." - (interactive)) + (interactive) + (awk-preview--cleanup)) (defun awk-preview--cleanup() "Cleanup awk preview buffers and variables.")