From: Andrew Innes Date: Fri, 5 Jan 2001 21:28:52 +0000 (+0000) Subject: (update_end): Don't check updating_frame; for some reason X-Git-Tag: emacs-pretest-21.0.95~85 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8182406ad12774c172f541b85ec0b29a0322f8dd;p=emacs.git (update_end): Don't check updating_frame; for some reason this can be 0 sometimes, such as after dismissing a popup menu, and isn't necessary given the explicit frame argument. --- diff --git a/src/ChangeLog b/src/ChangeLog index 3f059ca6af3..461909466ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-01-05 Andrew Innes + + * term.c (update_end): Don't check updating_frame; for some reason + this can be 0 sometimes, such as after dismissing a popup menu, + and isn't necessary given the explicit frame argument. + 2001-01-05 Gerd Moellmann * sysdep.c: Don't prototype srandom; it takes an unsigned argument diff --git a/src/term.c b/src/term.c index e7ee0959306..3919f7e59e1 100644 --- a/src/term.c +++ b/src/term.c @@ -507,7 +507,7 @@ void update_end (f) FRAME_PTR f; { - if (! FRAME_TERMCAP_P (updating_frame)) + if (! FRAME_TERMCAP_P (f)) { (*update_end_hook) (f); updating_frame = 0;