branch: elpa/helm commit c90b165f48cb143ee8a79188e4f1911c303b43fc Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Add comment and fix docstring --- helm-multi-match.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helm-multi-match.el b/helm-multi-match.el index 81eb18b73c..ae3a41a57f 100644 --- a/helm-multi-match.el +++ b/helm-multi-match.el @@ -289,8 +289,11 @@ Forward line on empty lines, otherwise goto eol." ;;; mm-3f (match on filenames) ;; ;; +;; When this is called by HFF, the pattern is transformed like this: +;; "/home/you/foo/foo bar" => "/home/you/foo/ foo bar" so the prefix is always +;; the basedir. (defun helm-mm-3f-match (candidate &optional pattern) - "Same as `helm-mm-3-match' but for files. + "Same as `helm-mm-3-match' but for files or prefix matching. Once the first pattern is matched, the subsequent patterns match on the part of CANDIDATE starting at end of first match." ;; When matching a filename like "/home/you/github/foo-bar.txt" there is no