diff options
author | Martin Rudalics <rudalics@gmx.at> | 2008-11-24 19:53:33 +0000 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2008-11-24 19:53:33 +0000 |
commit | 0836e2c3d7ab46a8cded7654b3acd901c0782e76 (patch) | |
tree | 91f1ce1ebbb80f301eeb63b46a1ad416e7f45829 /lisp/calendar/appt.el | |
parent | a59c6c5194c546cbe613dabbe31def45eb2cfc30 (diff) | |
download | emacs-0836e2c3d7ab46a8cded7654b3acd901c0782e76.tar.gz |
(appt-disp-window): Do a set-buffer when the
frame can't be split.
Diffstat (limited to 'lisp/calendar/appt.el')
-rw-r--r-- | lisp/calendar/appt.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el index fa6956687e8..878e8897edc 100644 --- a/lisp/calendar/appt.el +++ b/lisp/calendar/appt.el @@ -417,7 +417,9 @@ message APPT-MSG in a separate buffer." (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. |