[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp/calendar appt.el
From: |
Martin Rudalics |
Subject: |
[Emacs-diffs] emacs/lisp/calendar appt.el |
Date: |
Mon, 24 Nov 2008 19:53:00 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Martin Rudalics <m061211> 08/11/24 19:53:00
Modified files:
lisp/calendar : appt.el
Log message:
(appt-disp-window): Do a set-buffer when the
frame can't be split.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/calendar/appt.el?cvsroot=emacs&r1=1.93&r2=1.94
Patches:
Index: appt.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/calendar/appt.el,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -b -r1.93 -r1.94
--- appt.el 24 Nov 2008 09:50:49 -0000 1.93
+++ appt.el 24 Nov 2008 19:53:00 -0000 1.94
@@ -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.