]> git.eshelyaron.com Git - emacs.git/commitdiff
(show_help_event): Remove unused code.
authorKim F. Storm <storm@cua.dk>
Sat, 27 Dec 2003 22:24:01 +0000 (22:24 +0000)
committerKim F. Storm <storm@cua.dk>
Sat, 27 Dec 2003 22:24:01 +0000 (22:24 +0000)
src/xmenu.c

index 3e99a1c506d611b9a769f95a9f14ff77316579b9..669d8177c15cdaed2427f749f34758efbda8c2ec 100644 (file)
@@ -99,7 +99,6 @@ Lisp_Object Vmenu_updating_frame;
 Lisp_Object Qdebug_on_next_call;
 
 extern Lisp_Object Qmenu_bar;
-extern Lisp_Object Qmouse_click, Qevent_kind;
 
 extern Lisp_Object QCtoggle, QCradio;
 
@@ -1304,6 +1303,7 @@ show_help_event (f, widget, help)
     }
   else
     {
+#if 0  /* This code doesn't do anything useful.  ++kfs */
       /* WIDGET is the popup menu.  It's parent is the frame's
         widget.  See which frame that is.  */
       xt_or_gtk_widget frame_widget = XtParent (widget);
@@ -1317,7 +1317,7 @@ show_help_event (f, widget, help)
                  FRAME_X_P (f) && f->output_data.x->widget == frame_widget))
            break;
        }
-
+#endif
       show_help_echo (help, Qnil, Qnil, Qnil, 1);
     }
 }