Mercurial > emacs
comparison src/msdos.c @ 40656:cdfd4d09b79a
Update usage of CHECK_ macros (remove unused second argument).
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Fri, 02 Nov 2001 20:46:55 +0000 |
parents | 0eaf29d6544e |
children | 2483cab4d6d8 |
comparison
equal
deleted
inserted
replaced
40655:45453187feeb | 40656:cdfd4d09b79a |
---|---|
196 (nbuttons) | 196 (nbuttons) |
197 Lisp_Object nbuttons; | 197 Lisp_Object nbuttons; |
198 { | 198 { |
199 int n; | 199 int n; |
200 | 200 |
201 CHECK_NUMBER (nbuttons, 0); | 201 CHECK_NUMBER (nbuttons); |
202 n = XINT (nbuttons); | 202 n = XINT (nbuttons); |
203 if (n < 2 || n > 3) | 203 if (n < 2 || n > 3) |
204 Fsignal (Qargs_out_of_range, | 204 Fsignal (Qargs_out_of_range, |
205 Fcons (build_string ("only 2 or 3 mouse buttons are supported"), | 205 Fcons (build_string ("only 2 or 3 mouse buttons are supported"), |
206 Fcons (nbuttons, Qnil))); | 206 Fcons (nbuttons, Qnil))); |
2284 (frame) | 2284 (frame) |
2285 Lisp_Object frame; | 2285 Lisp_Object frame; |
2286 { | 2286 { |
2287 struct frame *f; | 2287 struct frame *f; |
2288 | 2288 |
2289 CHECK_FRAME (frame, 0); | 2289 CHECK_FRAME (frame); |
2290 f= XFRAME (frame); | 2290 f= XFRAME (frame); |
2291 | 2291 |
2292 /* This function is called after applying default-frame-alist to the | 2292 /* This function is called after applying default-frame-alist to the |
2293 initial frame. At that time, if reverse-colors option was | 2293 initial frame. At that time, if reverse-colors option was |
2294 specified in default-frame-alist, it was already applied, and | 2294 specified in default-frame-alist, it was already applied, and |
2353 { | 2353 { |
2354 Lisp_Object elt; | 2354 Lisp_Object elt; |
2355 | 2355 |
2356 elt = Fcar (tail); | 2356 elt = Fcar (tail); |
2357 parms[i] = Fcar (elt); | 2357 parms[i] = Fcar (elt); |
2358 CHECK_SYMBOL (parms[i], 1); | 2358 CHECK_SYMBOL (parms[i]); |
2359 values[i] = Fcdr (elt); | 2359 values[i] = Fcdr (elt); |
2360 i++; | 2360 i++; |
2361 } | 2361 } |
2362 | 2362 |
2363 j = i; | 2363 j = i; |