diff options
| author | Kim F. Storm | 2006-07-12 13:14:26 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-12 13:14:26 +0000 |
| commit | c616acb810400c81dc423735b41506670bc80839 (patch) | |
| tree | 17029af4eadfafb88ae1098e16940e09ccd03c8f /src/bytecode.c | |
| parent | 7e9d10c3dcca9f0b29b37c89d10d1d9521676b1a (diff) | |
| download | emacs-c616acb810400c81dc423735b41506670bc80839.tar.gz emacs-c616acb810400c81dc423735b41506670bc80839.zip | |
(Fbyte_code): Use CHECK_VECTOR.
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index 0d06890eabf..d71006cb660 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -433,8 +433,7 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 433 | #endif | 433 | #endif |
| 434 | 434 | ||
| 435 | CHECK_STRING (bytestr); | 435 | CHECK_STRING (bytestr); |
| 436 | if (!VECTORP (vector)) | 436 | CHECK_VECTOR (vector); |
| 437 | vector = wrong_type_argument (Qvectorp, vector); | ||
| 438 | CHECK_NUMBER (maxdepth); | 437 | CHECK_NUMBER (maxdepth); |
| 439 | 438 | ||
| 440 | if (STRING_MULTIBYTE (bytestr)) | 439 | if (STRING_MULTIBYTE (bytestr)) |
| @@ -547,9 +546,7 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 547 | else if (NILP (v1)) | 546 | else if (NILP (v1)) |
| 548 | TOP = Qnil; | 547 | TOP = Qnil; |
| 549 | else | 548 | else |
| 550 | { | 549 | wrong_type_argument (Qlistp, v1); |
| 551 | wrong_type_argument (Qlistp, v1); | ||
| 552 | } | ||
| 553 | break; | 550 | break; |
| 554 | } | 551 | } |
| 555 | 552 | ||
| @@ -580,9 +577,7 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 580 | else if (NILP (v1)) | 577 | else if (NILP (v1)) |
| 581 | TOP = Qnil; | 578 | TOP = Qnil; |
| 582 | else | 579 | else |
| 583 | { | 580 | wrong_type_argument (Qlistp, v1); |
| 584 | wrong_type_argument (Qlistp, v1); | ||
| 585 | } | ||
| 586 | break; | 581 | break; |
| 587 | } | 582 | } |
| 588 | 583 | ||