[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 1056be0: Add delq list arg check
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 1056be0: Add delq list arg check |
Date: |
Mon, 30 Jan 2017 21:33:07 +0000 (UTC) |
branch: master
commit 1056be0b3c6f7f6732bd6f31f78d3a7e1a41f2c2
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Add delq list arg check
* src/fns.c (Fdelq): Check that list is a proper list.
This is more compatible with what ‘delete’ does.
---
src/fns.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/fns.c b/src/fns.c
index 0d93f82..136a219 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1589,6 +1589,7 @@ argument. */)
else
prev = tail;
}
+ CHECK_LIST_END (tail, list);
return list;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 1056be0: Add delq list arg check,
Paul Eggert <=