Improve the semantic of map-some
commit1b5fda5cbca96aec3e407bc9e4f8a16e48e7954c
authorNicolas Petton <nicolas@petton.fr>
Sat, 5 Sep 2015 22:51:35 +0000 (6 00:51 +0200)
committerNicolas Petton <nicolas@petton.fr>
Sat, 5 Sep 2015 22:51:35 +0000 (6 00:51 +0200)
treed85433211e2e19cf00ea34a4b06db3ef1e4c49e6
parenta1535f938181ea137037d0233924a2c9d9e08f76
Improve the semantic of map-some

Update map-some to return the returned by the predicate, similar to
seq-some.

* lisp/emacs-lisp/map.el (map-some): Update the function to return the
  return value of the predicate.
* test/automated/map-tests.el (test-map-some): Update the test to check
  for non-nil values only.
lisp/emacs-lisp/map.el
test/automated/map-tests.el