aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/calendar/appt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index 623d94cd96a..8c8076a8413 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -381,7 +381,7 @@ The following variables control appointment notification:
381 (if (equal (selected-window) (minibuffer-window)) 381 (if (equal (selected-window) (minibuffer-window))
382 (if (other-window 1) 382 (if (other-window 1)
383 (select-window (other-window 1)) 383 (select-window (other-window 1))
384 (if window-system 384 (if (display-multi-frame-p)
385 (select-frame (other-frame 1))))) 385 (select-frame (other-frame 1)))))
386 386
387 (let* ((this-buffer (current-buffer)) 387 (let* ((this-buffer (current-buffer))