mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
merge
This commit is contained in:
commit
9f3d7ab5f9
@ -162,7 +162,7 @@ def detect_smartcase(needles):
|
|||||||
|
|
||||||
def find_matches(entries, needles, check_entries=True):
|
def find_matches(entries, needles, check_entries=True):
|
||||||
"""Return an iterator to matching entries."""
|
"""Return an iterator to matching entries."""
|
||||||
# TODO(ting|2014-02-18): replace assertion with test
|
# TODO(wting|2014-02-24): replace assertion with unit test
|
||||||
assert isinstance(needles, list), "Needles must be a list."
|
assert isinstance(needles, list), "Needles must be a list."
|
||||||
ignore_case = detect_smartcase(needles)
|
ignore_case = detect_smartcase(needles)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user