Mercurial > emacs
diff lisp/calendar/appt.el @ 99886:d5afbdd2b77c
(appt-disp-window): Do a set-buffer when the
frame can't be split.
author | Martin Rudalics <rudalics@gmx.at> |
---|---|
date | Mon, 24 Nov 2008 19:53:00 +0000 |
parents | 6638c3736a32 |
children | a9dc0e7c3f2b |
line wrap: on
line diff
--- a/lisp/calendar/appt.el Mon Nov 24 19:40:35 2008 +0000 +++ b/lisp/calendar/appt.el Mon Nov 24 19:53:00 2008 +0000 @@ -417,7 +417,9 @@ (and (minibufferp) (display-multi-frame-p) (other-frame 1))) (if (cdr (assq 'unsplittable (frame-parameters))) ;; In an unsplittable frame, use something somewhere else. - (display-buffer appt-disp-buf) + (progn + (set-buffer appt-disp-buf) + (display-buffer appt-disp-buf)) (unless (or (special-display-p (buffer-name appt-disp-buf)) (same-window-p (buffer-name appt-disp-buf))) ;; By default, split the bottom window and use the lower part.