diff options
author | Kim F. Storm <storm@cua.dk> | 2006-07-12 13:19:42 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-07-12 13:19:42 +0000 |
commit | d76592ae1196a4c4990856725ecb51822087da06 (patch) | |
tree | cc4ec7fdd50ee19c2b9b595a99e995eba9ce3688 /src/macros.c | |
parent | 979376ccccf4a90d6106d960c1eedf3138ddd80b (diff) | |
download | emacs-d76592ae1196a4c4990856725ecb51822087da06.tar.gz |
(Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING.
Diffstat (limited to 'src/macros.c')
-rw-r--r-- | src/macros.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/macros.c b/src/macros.c index ef3ff8c0523..fb452e4e318 100644 --- a/src/macros.c +++ b/src/macros.c @@ -97,10 +97,7 @@ macro before appending to it. */) int cvt; /* Check the type of last-kbd-macro in case Lisp code changed it. */ - if (!STRINGP (current_kboard->Vlast_kbd_macro) - && !VECTORP (current_kboard->Vlast_kbd_macro)) - current_kboard->Vlast_kbd_macro - = wrong_type_argument (Qarrayp, current_kboard->Vlast_kbd_macro); + CHECK_VECTOR_OR_STRING (current_kboard->Vlast_kbd_macro); len = XINT (Flength (current_kboard->Vlast_kbd_macro)); |