diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-08-16 07:15:09 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2016-08-16 07:15:09 +0200 |
commit | 891c75744b70874e0e5ae716e2ac5b80602cda5c (patch) | |
tree | e58b7160ecbd7bfe18e105d63829abf17858dea5 /helm-command.el | |
parent | 962a83a768d2047cd804c33f4bfae16b29900e42 (diff) |
Allow matching only part of candidate in helm-comp-read (#1582).
* helm-mode.el (helm-comp-read): Do it.
* helm-command.el (helm-M-x-read-extended-command): Use it.
Diffstat (limited to 'helm-command.el')
-rw-r--r-- | helm-command.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helm-command.el b/helm-command.el index 3eafc593..3b2fe051 100644 --- a/helm-command.el +++ b/helm-command.el @@ -240,6 +240,7 @@ than the default which is OBARRAY." :help-message 'helm-M-x-help-message :keymap helm-M-x-map :must-match t + :match-part (lambda (c) (car (split-string c))) :fuzzy helm-M-x-fuzzy-match :nomark t :candidates-in-buffer t |