]> git.eshelyaron.com Git - emacs.git/commitdiff
(appt-disp-window): Use display-multi-frame-p
authorEli Zaretskii <eliz@gnu.org>
Mon, 31 Jul 2000 15:34:07 +0000 (15:34 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 31 Jul 2000 15:34:07 +0000 (15:34 +0000)
instead of window-system.

lisp/calendar/appt.el

index 623d94cd96a21abbae690eac0dc2f517a2188a99..8c8076a841364d76354e9cde002afe463ec94f4f 100644 (file)
@@ -381,7 +381,7 @@ The following variables control appointment notification:
   (if (equal (selected-window) (minibuffer-window))
       (if (other-window 1) 
          (select-window (other-window 1))
-       (if window-system
+       (if (display-multi-frame-p)
            (select-frame (other-frame 1)))))
       
   (let* ((this-buffer (current-buffer))