[Top][All Lists]

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

Re: Canceling dialogues

From: Richard Stallman
Subject: Re: Canceling dialogues
Date: Thu, 03 Aug 2006 15:14:38 -0400

    That's strange: I also checked in the configuration with X toolkit.
    What command did you try?  I tried revert-buffer (invoked through the
    menu-bar's File menu).

I defined a command

(defun foo ()
  (y-or-n-p "Foo? ")
  (setq foo t))

and bound it to C-M-mouse-1 using global-set-key.
Then I did C-M-mouse-1, and it brought up the dialog box.
Then I clicked on the X to kill the dialog box.
Emacs displayed Quit, and the variable foo was still unbound.

reply via email to

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