Mercurial > emacs
comparison lisp/calendar/appt.el @ 30538:c44ca494d993
(appt-disp-window): Use display-multi-frame-p
instead of window-system.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 31 Jul 2000 15:34:07 +0000 |
parents | 55656f797f82 |
children | 253f761ad37b |
comparison
equal
deleted
inserted
replaced
30537:31765e95b970 | 30538:c44ca494d993 |
---|---|
379 ;; before splitting the window. | 379 ;; before splitting the window. |
380 | 380 |
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)) |
388 (this-window (selected-window)) | 388 (this-window (selected-window)) |
389 (appt-disp-buf (set-buffer (get-buffer-create appt-buffer-name)))) | 389 (appt-disp-buf (set-buffer (get-buffer-create appt-buffer-name)))) |