summaryrefslogtreecommitdiff
path: root/helm-ring.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-09 08:33:57 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-02-09 08:33:57 +0100
commit057e0b5509060454c685c5923b1de77e5b574993 (patch)
treec4069cfc7473b621068fbc66fd3c5b96c90a91e8 /helm-ring.el
parentaad266317a76665671f4ab5c5c590ec91a6a8805 (diff)
Reset multiline attr at startup in kill-ring.
* helm-ring.el (helm-source-kill-ring): Do it.
Diffstat (limited to 'helm-ring.el')
-rw-r--r--helm-ring.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/helm-ring.el b/helm-ring.el
index 66ea2721..c60b1cd7 100644
--- a/helm-ring.el
+++ b/helm-ring.el
@@ -75,7 +75,9 @@ will not have anymore separators between candidates."
(defvar helm-source-kill-ring
(helm-build-sync-source "Kill Ring"
- :init (lambda () (helm-attrset 'last-command last-command))
+ :init (lambda ()
+ (helm-attrset 'last-command last-command)
+ (helm-attrset 'multiline helm-kill-ring-max-offset))
:candidates #'helm-kill-ring-candidates
:filtered-candidate-transformer #'helm-kill-ring-transformer
:action 'helm-kill-ring-actions