summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLockywolf <lockywolf@gmail.com>2019-09-03 15:01:07 +0800
committerLockywolf <lockywolf@gmail.com>2019-09-03 15:06:02 +0800
commit94167d94889164deeddf5d5f3a99768fedbbc526 (patch)
tree5354cc5ffe160d548acddddde5a954c90070ced0
parent1e1d13e684c0881a59c3893f6679de77f90e8c21 (diff)
downloadgeiser-94167d94889164deeddf5d5f3a99768fedbbc526.tar.gz
geiser-94167d94889164deeddf5d5f3a99768fedbbc526.tar.bz2
Add a few minor tweaks.
-rw-r--r--elisp/geiser-log.el3
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))