summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))