diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-02-09 08:33:57 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-02-09 08:33:57 +0100 |
commit | 057e0b5509060454c685c5923b1de77e5b574993 (patch) | |
tree | c4069cfc7473b621068fbc66fd3c5b96c90a91e8 /helm-ring.el | |
parent | aad266317a76665671f4ab5c5c590ec91a6a8805 (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.el | 4 |
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 |