summaryrefslogtreecommitdiff
path: root/helm-source.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2019-11-18 17:34:37 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2019-11-18 17:34:37 +0100
commitab449c9828b142c3e517f3d3298c94661d82ce10 (patch)
tree2e348f4389be4de13941c56aeb9bdc3687667032 /helm-source.el
parent9bad9387e500b942457a7806b9d2d0242a3caf1c (diff)
Simplify setting must-match
no need to convert 'confirm-after-completion to confirm. * helm-mode.el (helm-comp-read): Do it. (helm-read-file-name): Do it. * helm-source.el (helm--setup-source): Do it. * helm.el (helm-confirm-and-exit-minibuffer): Check for both confirm and confirm-after-completion.
Diffstat (limited to 'helm-source.el')
-rw-r--r--helm-source.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/helm-source.el b/helm-source.el
index debedd2b..87e5f0a1 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -1027,9 +1027,6 @@ an eieio class."
(when (slot-value source 'delayed)
(warn "Deprecated usage of helm `delayed' slot in `%s'"
(slot-value source 'name)))
- (helm-aif (slot-value source 'must-match)
- (and (eq it 'confirm-after-completion)
- (setf (slot-value source 'must-match) 'confirm)))
(helm-aif (slot-value source 'keymap)
(let* ((map (if (symbolp it)
(symbol-value it)