From 0836e2c3d7ab46a8cded7654b3acd901c0782e76 Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Mon, 24 Nov 2008 19:53:33 +0000 Subject: [PATCH] (appt-disp-window): Do a set-buffer when the frame can't be split. --- lisp/ChangeLog | 5 +++++ lisp/calendar/appt.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9d6ea22d13c..fe34317f722 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-11-24 Martin Rudalics + + * calendar/appt.el (appt-disp-window): Do a set-buffer when the + frame can't be split. + 2008-11-24 Ulf Jasper * net/newst-treeview.el (newsticker--treeview-current-feed): Doc 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. -- 2.39.2