problems with timers?

Fabrice Popineau Fabrice.Popineau at supelec.fr
Thu Feb 3 06:33:29 EST 2005


This doesn't work anymore with current 21.5:

;; Prevent accidentally killing emacs.
(global-set-key [(control x) (control c)]
  '(lambda ()
     (interactive)
     (when (y-or-n-p-with-timeout "Do you really want to exit Emacs ? " 4 nil)
	 (save-buffers-kill-emacs))))

The timer is complaining that nothing is catching his timeout.

Did I miss something?

-- 
Fabrice




More information about the XEmacs-Beta mailing list