Mercurial > emacs
diff src/msdos.c @ 71986:de36a2bee064
(Fmsdos_set_mouse_buttons): Use xsignal2.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Tue, 18 Jul 2006 13:28:45 +0000 |
parents | 3bd95f4f2941 |
children | f6b18b9949d1 02e39decdc84 8a8e69664178 |
line wrap: on
line diff
--- a/src/msdos.c Tue Jul 18 13:28:39 2006 +0000 +++ b/src/msdos.c Tue Jul 18 13:28:45 2006 +0000 @@ -204,9 +204,9 @@ 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; }