Mercurial > hg > xemacs-beta
diff lisp/prim/minibuf.el @ 96:dbb370e3c29e r20-0final
Import from CVS: tag r20-0final
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:12:40 +0200 |
parents | 54cc21c15cbb |
children | 4be1180a9e89 |
line wrap: on
line diff
--- a/lisp/prim/minibuf.el Mon Aug 13 09:12:11 2007 +0200 +++ b/lisp/prim/minibuf.el Mon Aug 13 09:12:40 2007 +0200 @@ -158,7 +158,7 @@ map) "Minibuffer keymap used by shell-command and related commands.") -(defvar should-use-dialog-box t +(defvar use-dialog-box t "Variable controlling usage of the dialog box. If nil, the dialog box will never be used, even in response to mouse events.") @@ -2007,11 +2007,11 @@ event, and checks whether dialog-support exists and the current device supports dialog boxes. -The dialog box is totally disabled if the variable `should-use-dialog-box' +The dialog box is totally disabled if the variable `use-dialog-box' is set to nil." (and (featurep 'dialog) (device-on-window-system-p) - should-use-dialog-box + use-dialog-box (or force-dialog-box-use (button-press-event-p last-command-event) (button-release-event-p last-command-event)