diff options
Diffstat (limited to 'lib/eos')
-rw-r--r-- | lib/eos/jao-minibuffer.el | 7 |
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 () |