diff options
author | Lockywolf <lockywolf@gmail.com> | 2019-09-03 15:01:07 +0800 |
---|---|---|
committer | Lockywolf <lockywolf@gmail.com> | 2019-09-03 15:06:02 +0800 |
commit | 94167d94889164deeddf5d5f3a99768fedbbc526 (patch) | |
tree | 5354cc5ffe160d548acddddde5a954c90070ced0 | |
parent | 1e1d13e684c0881a59c3893f6679de77f90e8c21 (diff) | |
download | geiser-94167d94889164deeddf5d5f3a99768fedbbc526.tar.gz geiser-94167d94889164deeddf5d5f3a99768fedbbc526.tar.bz2 |
Add a few minor tweaks.
-rw-r--r-- | elisp/geiser-log.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-log.el b/elisp/geiser-log.el index e004831..91ed639 100644 --- a/elisp/geiser-log.el +++ b/elisp/geiser-log.el @@ -63,7 +63,8 @@ '(lambda (b e len) (when geiser-log-autoscroll-buffer-p (let ((my-window (get-buffer-window (geiser-log--buffer) t))) - (set-window-point my-window (point))))) + (when (window-live-p my-window) + (set-window-point my-window (point)))))) nil t) (setq buffer-read-only t)) |