]> git.eshelyaron.com Git - emacs.git/commitdiff
(with_echo_area_buffer): Use echo_kboard instead
authorGerd Moellmann <gerd@gnu.org>
Wed, 26 Sep 2001 12:02:24 +0000 (12:02 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 26 Sep 2001 12:02:24 +0000 (12:02 +0000)
of the only tempoarily set echoing flag for deciding when
the cancel echoing.

src/ChangeLog
src/xdisp.c

index a5179f83d27fc719480cb68e0eac771bc380342f..c0b77fb480417a75e99c2314b11e6ba035193a80 100644 (file)
@@ -1,5 +1,13 @@
 2001-09-26  Gerd Moellmann  <gerd@gnu.org>
 
+       * xdisp.c (with_echo_area_buffer): Use echo_kboard instead
+       of the only tempoarily set echoing flag for deciding when
+       the cancel echoing.
+
+       * keyboard.c (echo_kboard): Make externally visible.
+
+       * lisp.h (echo_kboard): Declare extern.
+
        * xdisp.c (make_cursor_line_fully_visible): Return 0 and set
        fonts_changed_p if need larger matrices due to vscrolling.
        (try_scrolling, try_cursor_movement, redisplay_window): Give up on
index eae5e9062fb504b0259e36de96f7892caa0396c6..295bf1be5f64564eb39019fd1b174fbab423e009 100644 (file)
@@ -6237,7 +6237,7 @@ with_echo_area_buffer (w, which, fn, a1, a2, a3, a4)
 
   /* Don't get confused by reusing the buffer used for echoing
      for a different purpose.  */
-  if (!echoing && EQ (buffer, echo_message_buffer))
+  if (echo_kboard == NULL && EQ (buffer, echo_message_buffer))
     cancel_echoing ();
 
   record_unwind_protect (unwind_with_echo_area_buffer,