emacs-devel
[Top][All Lists]
Advanced

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

Re: commands invoked by the mouse -> commands invoked from the menu bar


From: Richard Stallman
Subject: Re: commands invoked by the mouse -> commands invoked from the menu bar
Date: Sun, 14 May 2006 11:09:25 -0400

    #if defined (USE_MOTIF) || defined (HAVE_NTGUI) || defined (USE_GTK) || 
defined (HAVE_CARBON)
      if ((NILP (last_nonmenu_event) || CONSP (last_nonmenu_event))
          && use_dialog_box
          && use_file_dialog
          && have_menus_p ())
        return Qt;

    So it seems to me, that if menus are disabled, then even tool bar
    mouse events will not bring up a dialog, which is probably a
    bug.

What do you mean by "if menus are disabled"?
have_menus_p checks whether menus are _supported_.
It assumes that if menus are not supported, no file dialog is
supported either.  Is that ever wrong?




reply via email to

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