From: Kim F. Storm Date: Tue, 18 Jul 2006 13:28:45 +0000 (+0000) Subject: (Fmsdos_set_mouse_buttons): Use xsignal2. X-Git-Tag: emacs-pretest-22.0.90~1362 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ebe061ca4d57ec8074f81a8af4b2b4c11fc67bb0;p=emacs.git (Fmsdos_set_mouse_buttons): Use xsignal2. --- diff --git a/src/msdos.c b/src/msdos.c index 5b4f630ea30..2068af544ac 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -204,9 +204,9 @@ them. This happens with wheeled mice on Windows 9X, for example. */) CHECK_NUMBER (nbuttons); n = XINT (nbuttons); if (n < 2 || n > 3) - Fsignal (Qargs_out_of_range, - Fcons (build_string ("only 2 or 3 mouse buttons are supported"), - Fcons (nbuttons, Qnil))); + xsignal2 (Qargs_out_of_range, + build_string ("only 2 or 3 mouse buttons are supported"), + nbuttons); mouse_setup_buttons (n); return Qnil; }