bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: appointment display during isearch replaces buffer contents with his


From: Johan Bockgård
Subject: Re: appointment display during isearch replaces buffer contents with history-element
Date: Sat, 17 Nov 2007 11:44:00 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

This report was not very detailed and I don't know how to reproduce the
bug. Meanwhile, I found this broken code in appt-disp-window

  (if (equal (selected-window) (minibuffer-window))
      (if (other-window 1)
          (select-window (other-window 1))
        (if (display-multi-frame-p)
            (select-frame (other-frame 1)))))

This code makes no sense. other-window and other-frame select a window
or frame--they don't return it. In fact, the return value is always nil,
so this can't possibly be right.

-- 
Johan Bockgård





reply via email to

[Prev in Thread] Current Thread [Next in Thread]