Mercurial > emacs
changeset 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 | ae7908422c59 |
children | 6dd00de34fff |
files | src/msdos.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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; }