emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r102444: msdos.c (dos_rawgetc): Use g


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102444: msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.
Date: Sat, 20 Nov 2010 13:45:14 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102444 [merge]
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2010-11-20 13:45:14 +0200
message:
   msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.
modified:
  src/ChangeLog
  src/msdos.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-11-20 10:07:00 +0000
+++ b/src/ChangeLog     2010-11-20 11:45:14 +0000
@@ -1,3 +1,8 @@
+2010-11-20  Eli Zaretskii  <address@hidden>
+
+       * msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the
+       same in-line.
+
 2010-11-20  Andreas Schwab  <address@hidden>
 
        * xfaces.c (lookup_face): Make static.

=== modified file 'src/msdos.c'
--- a/src/msdos.c       2010-11-17 02:37:45 +0000
+++ b/src/msdos.c       2010-11-20 11:45:14 +0000
@@ -2725,17 +2725,8 @@
          /* If the contents of the global variable help_echo has
             changed, generate a HELP_EVENT.  */
          if (!NILP (help_echo_string) || !NILP (previous_help_echo_string))
-           {
-             event.kind = HELP_EVENT;
-             event.frame_or_window = selected_frame;
-             event.arg = help_echo_object;
-             event.x = WINDOWP (help_echo_window)
-               ? help_echo_window : selected_frame;
-             event.y = help_echo_string;
-             event.timestamp = event_timestamp ();
-             event.code = help_echo_pos;
-             kbd_buffer_store_event (&event);
-           }
+           gen_help_event (help_echo_string, selected_frame, help_echo_window,
+                           help_echo_object, help_echo_pos);
        }
 
       for (but = 0; but < NUM_MOUSE_BUTTONS; but++)


reply via email to

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