branch: elpa/helm commit aec87449bc04b170245f7de9a118830a5996ac3d Author: Thierry Volpiatto <thie...@posteo.net> Commit: Thierry Volpiatto <thie...@posteo.net>
Make :must-match working in read-file-name dummy source --- helm-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helm-mode.el b/helm-mode.el index 4b30576f11..047ee3cf3b 100644 --- a/helm-mode.el +++ b/helm-mode.el @@ -2009,9 +2009,10 @@ Keys description: :nomark nomark :action action-fn) ;; Non existing file or dir source. - (unless must-match + (unless (eq must-match t) (helm-build-dummy-source "New file or dir" :keymap 'helm-read-file-dummy-map + :must-match must-match :filtered-candidate-transformer (lambda (_candidates _source) (unless (file-exists-p helm-pattern)