mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(Fset_match_data): Use CHECK_LIST.
This commit is contained in:
parent
0b4331b7bf
commit
29100ceab8
@ -2874,8 +2874,7 @@ If optional arg RESEAT is non-nil, make markers on LIST point nowhere. */)
|
||||
if (running_asynch_code)
|
||||
save_search_regs ();
|
||||
|
||||
if (!CONSP (list) && !NILP (list))
|
||||
list = wrong_type_argument (Qconsp, list);
|
||||
CHECK_LIST (list);
|
||||
|
||||
/* Unless we find a marker with a buffer or an explicit buffer
|
||||
in LIST, assume that this match data came from a string. */
|
||||
|
Loading…
Reference in New Issue
Block a user