summaryrefslogtreecommitdiff
path: root/helm-mode.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2020-01-03 15:03:53 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2020-01-03 15:03:53 +0100
commitf116198dd0ddc5ff23e14ee494f9551b2014b8ea (patch)
tree8994f5ce50cac48613a923efe9fd2c0c68249a32 /helm-mode.el
parent8ca7ff9208e99853ce2b043f94863d56d4f4e46c (diff)
Remove uncalled test in or clause (#2261)
* helm-mode.el (helm-completion--multi-all-completions-1): Do it, add comment as well.
Diffstat (limited to 'helm-mode.el')
-rw-r--r--helm-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-mode.el b/helm-mode.el
index 5c4416cb..c7a9d414 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -1523,8 +1523,8 @@ Actually do nothing."
(all (and (or (cdr split)
(and (not (cdr split))
;; Kickin when STRING is a simple string.
+ ;; Handle as well "foo " (space at end).
(not (string= fpat "")))
- (string-match " \\'" string)
(string= string ""))
(not (string-match "\\`!" fpat))
;; all-completions should return nil if FPAT is a