Commit 0836e2c3 authored by Martin Rudalics's avatar Martin Rudalics
Browse files

(appt-disp-window): Do a set-buffer when the

frame can't be split.
parent a59c6c51
2008-11-24 Martin Rudalics <rudalics@gmx.at>
* calendar/appt.el (appt-disp-window): Do a set-buffer when the
frame can't be split.
2008-11-24 Ulf Jasper <ulf@web.de> 2008-11-24 Ulf Jasper <ulf@web.de>
   
* net/newst-treeview.el (newsticker--treeview-current-feed): Doc * net/newst-treeview.el (newsticker--treeview-current-feed): Doc
......
...@@ -417,7 +417,9 @@ message APPT-MSG in a separate buffer." ...@@ -417,7 +417,9 @@ message APPT-MSG in a separate buffer."
(and (minibufferp) (display-multi-frame-p) (other-frame 1))) (and (minibufferp) (display-multi-frame-p) (other-frame 1)))
(if (cdr (assq 'unsplittable (frame-parameters))) (if (cdr (assq 'unsplittable (frame-parameters)))
;; In an unsplittable frame, use something somewhere else. ;; 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)) (unless (or (special-display-p (buffer-name appt-disp-buf))
(same-window-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. ;; By default, split the bottom window and use the lower part.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment