[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xeft b5080f8225 2/4: ; * xeft.el (xeft--insert-file-exc
From: |
ELPA Syncer |
Subject: |
[elpa] externals/xeft b5080f8225 2/4: ; * xeft.el (xeft--insert-file-excerpt): Minor fix. |
Date: |
Mon, 30 Jan 2023 17:58:31 -0500 (EST) |
branch: externals/xeft
commit b5080f822546968945ac7aaeb2ca3d86a4c04cb4
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
; * xeft.el (xeft--insert-file-excerpt): Minor fix.
---
xeft.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xeft.el b/xeft.el
index 1a006e301d..abeb0aceae 100644
--- a/xeft.el
+++ b/xeft.el
@@ -514,6 +514,8 @@ search phrase the user typed."
(car (last (split-string search-phrase))))
title excerpt)
(with-current-buffer (xeft--work-buffer)
+ (widen)
+ (erase-buffer)
(setq buffer-undo-list t)
;; The times saved by caching is not significant enough. So I
;; choose to not cache, but kept the code just in case. See