diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/data.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ba0af53484d..bf4392d519d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2013-11-25 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-11-25 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | bool-vector-subsetp is now the normal direction (Bug#15912). | ||
| 4 | * data.c (Fbool_vector_subsetp): Test whether the first argument | ||
| 5 | is a subset of the second one, not the reverse. Add doc string. | ||
| 6 | |||
| 3 | Fix minor problems found by static checking. | 7 | Fix minor problems found by static checking. |
| 4 | * lread.c (load_path_default): Now static. | 8 | * lread.c (load_path_default): Now static. |
| 5 | * textprop.c (text_property_stickiness): Be consistent about the | 9 | * textprop.c (text_property_stickiness): Be consistent about the |
diff --git a/src/data.c b/src/data.c index ca896897ddf..1fe7a1c9b65 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -3242,11 +3242,11 @@ Return the destination vector if it changed or nil otherwise. */) | |||
| 3242 | 3242 | ||
| 3243 | DEFUN ("bool-vector-subsetp", Fbool_vector_subsetp, | 3243 | DEFUN ("bool-vector-subsetp", Fbool_vector_subsetp, |
| 3244 | Sbool_vector_subsetp, 2, 2, 0, | 3244 | Sbool_vector_subsetp, 2, 2, 0, |
| 3245 | doc: ) | 3245 | doc: /* Return t if every t value in A is also t in B, nil otherwise. |
| 3246 | A and B must be bool vectors of the same length. */) | ||
| 3246 | (Lisp_Object a, Lisp_Object b) | 3247 | (Lisp_Object a, Lisp_Object b) |
| 3247 | { | 3248 | { |
| 3248 | /* Like bool_vector_union, but doesn't modify b. */ | 3249 | return bool_vector_binop_driver (a, b, b, bool_vector_subsetp); |
| 3249 | return bool_vector_binop_driver (b, a, b, bool_vector_subsetp); | ||
| 3250 | } | 3250 | } |
| 3251 | 3251 | ||
| 3252 | DEFUN ("bool-vector-not", Fbool_vector_not, | 3252 | DEFUN ("bool-vector-not", Fbool_vector_not, |