summaryrefslogtreecommitdiff
path: root/helm-mode.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2020-08-03 18:56:47 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2020-08-03 18:56:47 +0200
commit10dd52b3c45ba649165ed7d1c2a5fd49586bfefd (patch)
treea73c3ccc16e588913b3a65f2b2ad439d9c32c0f1 /helm-mode.el
parentfb1c4411d612101859c7dabf82780b88ecaa5fa5 (diff)
Fix completion-at-point on special strings (#2355)
Diffstat (limited to 'helm-mode.el')
-rw-r--r--helm-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-mode.el b/helm-mode.el
index 8cfbf104..47e1a491 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -1594,7 +1594,8 @@ Actually does nothing."
(bounds (completion-boundaries beforepoint table pred afterpoint))
(prefix (substring beforepoint 0 (car bounds)))
(suffix (substring afterpoint (cdr bounds)))
- (all (helm-completion--multi-all-completions-1 string table pred)))
+ (all (helm-completion--multi-all-completions-1
+ (regexp-quote string) table pred)))
(list all string prefix suffix point)))
;; The adjust-metadata functions run only in emacs-27, they are NOT