]> git.eshelyaron.com Git - emacs.git/commit
Consolidate duplicated string matching code.
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 13 Jan 2015 04:08:54 +0000 (07:08 +0300)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 13 Jan 2015 04:08:54 +0000 (07:08 +0300)
commitb53b1ca422ff1925f631be511fbec9deb1e4cc33
tree5d39e0f04440b06fb1350a657839e868aa5996e9
parentad9c4a4091df19064a7f7f53bfdb687931e141f6
Consolidate duplicated string matching code.

* search.c (fast_string_match_internal): New function,
consolidated from...
(fast_string_match, fast_string_match_ignore_case): ...functions
which are...
* lisp.h (fast_string_match, fast_string_match_ignore_case):
inlined from here now.
(fast_string_match_internal): Add prototype.
* dired.c (file_name_completion): Use fast_string_match_internal.
src/ChangeLog
src/dired.c
src/lisp.h
src/search.c