summaryrefslogtreecommitdiff
path: root/helm-mode.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-28 11:14:58 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-28 11:14:58 +0100
commit28cf1fb6727f6b7c6cc27b9b340cd7cd8e6ea769 (patch)
treeadc527e869fa54d2dd0bb1f29ce955f86ac1cd5f /helm-mode.el
parent28e26ceb52ee06d0a13a399c2131677d4d078817 (diff)
Use modified candidate in helm-cr-default-transformer.
* helm-mode.el (helm-cr-default-transformer): Do it.
Diffstat (limited to 'helm-mode.el')
-rw-r--r--helm-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/helm-mode.el b/helm-mode.el
index f4b913d6..d3f006cb 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -260,11 +260,11 @@ If COLLECTION is an `obarray', a TEST should be needed. See `obarray'."
" " 'display
(propertize "[?]" 'face 'helm-ff-prefix))
cand)
- c)
+ cand)
into lst
- else collect (if (and (stringp c)
- (string-match "\n" c))
- (cons (replace-regexp-in-string "\n" "->" cand) c)
+ else collect (if (and (stringp cand)
+ (string-match "\n" cand))
+ (cons (replace-regexp-in-string "\n" "->" cand) cand)
;; FIXME: Only plain string is supported
;; here, if we use a cons a bug happen with
;; completion-at-point and fuzzy enabled,