summaryrefslogtreecommitdiff
path: root/elisp/geiser-log.el
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
commit3daddfdbd66b86a76e77139c79fa91d9b825990c (patch)
treee9335c10db6e569ce3a0824de11234d625fed7ea /elisp/geiser-log.el
parentdb03a8266156e939cd8464292cf2793e53501b93 (diff)
downloadgeiser-guile-3daddfdbd66b86a76e77139c79fa91d9b825990c.tar.gz
geiser-guile-3daddfdbd66b86a76e77139c79fa91d9b825990c.tar.bz2
Add a few minor tweaks.
Diffstat (limited to 'elisp/geiser-log.el')
-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))