summaryrefslogtreecommitdiff
path: root/helm-files.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2015-09-23 09:37:02 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2015-09-23 09:37:02 +0200
commit84a48ede9beb13c1c0e4eebc2fcec473a9257e61 (patch)
tree91000769b58c39fa144ad7cd8fd6b91bcd943f4c /helm-files.el
parent179a73aa958a2c362e8370a95a4d766bedfa1f99 (diff)
Don't enter space in hff for migemo (#1175).
Adding a space specialy for migemo prevent using fuzzy matching in hff, letting user entering manually a space when needed allow both migemo matching when needed and fuzzy matching rest of the time. * helm-files.el (helm-ff--transform-pattern-for-completion): Do it.
Diffstat (limited to 'helm-files.el')
-rw-r--r--helm-files.el5
1 files changed, 0 insertions, 5 deletions
diff --git a/helm-files.el b/helm-files.el
index 3688efe8..98e38039 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -1771,11 +1771,6 @@ If PATTERN is a valid directory name,return PATTERN unchanged."
(and dir-p (string-match (regexp-quote bn) bd)))
;; Use full PATTERN on e.g "/ssh:host:".
(regexp-quote pattern))
- ;; With Migemo make a regexp like "bd bn" forcing
- ;; the use of multi-match. Fuzzy will be disabled
- ;; in this case. If bn contain a space we will have:
- ;; "bd bn1 bn2".
- (helm-migemo-mode (concat (regexp-quote bd) " " bn))
;; Prefixing BN with a space call multi-match completion.
;; This allow showing all files/dirs matching BN (Issue #518).
;; FIXME: some multi-match methods may not work here.