diff --git a/kagi.el b/kagi.el index 7771bea..2e0537b 100644 --- a/kagi.el +++ b/kagi.el @@ -261,6 +261,7 @@ list of conses." F is a function to call the summarizer API that returns a JSON response." (let ((summary (kagi--get-summary f))) (with-current-buffer (get-buffer-create buffer-name) + (erase-buffer) (insert summary) (goto-char 0) (text-mode)