diff options
Diffstat (limited to 'helm-dabbrev.el')
-rw-r--r-- | helm-dabbrev.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-dabbrev.el b/helm-dabbrev.el index 9f1e2141..89f72adc 100644 --- a/helm-dabbrev.el +++ b/helm-dabbrev.el @@ -161,7 +161,8 @@ but the initial search for all candidates in buffer(s)." (concat "\\(" helm-dabbrev--regexp "\\)" "\\(?99:\\(" pattern "\\(\\sw\\|\\s_\\)+\\)\\)") (point-at-eol) t) - (match-string-no-properties 99))))) + (replace-regexp-in-string + replace-regexp "" (match-string-no-properties 99)))))) (unless (member match-word result) (push match-word result))))))) (cl-loop for buf in (if all (helm-dabbrev--buffer-list) |