summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-03-11 00:30:50 +0000
committerjao <jao@gnu.org>2021-03-11 00:30:50 +0000
commit92e4a74fdcc6add0acd6e7bb3eff397eb9966b66 (patch)
treea8e7d47b5d1f14a677064622fd9565dd6cef4f78 /lib
parentcc15ca0de49994cd3b78eefe9559277147946b31 (diff)
downloadelibs-92e4a74fdcc6add0acd6e7bb3eff397eb9966b66.tar.gz
elibs-92e4a74fdcc6add0acd6e7bb3eff397eb9966b66.tar.bz2
jao-minibuffer: stop making pdf-tools angry
Diffstat (limited to 'lib')
-rw-r--r--lib/eos/jao-minibuffer.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/eos/jao-minibuffer.el b/lib/eos/jao-minibuffer.el
index 91662bf..777980e 100644
--- a/lib/eos/jao-minibuffer.el
+++ b/lib/eos/jao-minibuffer.el
@@ -84,9 +84,10 @@
" " msg)))))
(defun jao-minibuffer--insert (msg)
- (with-current-buffer jao-minibuffer--name
- (erase-buffer)
- (insert msg)))
+ (save-window-excursion
+ (with-current-buffer jao-minibuffer--name
+ (erase-buffer)
+ (insert msg))))
;;;###autoload
(defun jao-minibuffer-refresh ()