branch: elpa/helm commit b7b21b5733c182ca18ad4dde1e75a32da29968a5 Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Add docstring to helm-source-mm-get-search-or-match-fns --- helm-source.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm-source.el b/helm-source.el index 2f5bf9ace8..d341a73a27 100644 --- a/helm-source.el +++ b/helm-source.el @@ -985,6 +985,9 @@ Arguments ARGS are keyword value pairs as defined in CLASS." (defvar helm-mm-default-match-functions) (defun helm-source-mm-get-search-or-match-fns (source method) + "Prepare match or search functions for class SOURCE. +Argument METHOD is the matching method used by SOURCE either `match' +or `search'." (let* ((diacritics (cl-case method (match (eq (slot-value source 'match) 'diacritics)) (search (slot-value source 'diacritics))))