diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-04-29 07:41:48 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2017-04-29 07:41:48 +0200 |
commit | bdf6ae12663067bbed28a9a6cf16df7e00b327d7 (patch) | |
tree | f5aaa15dc46df4c8cbdb231d1b41b47ea4a78548 /helm.el | |
parent | 7d4a82bacdf6d12f4b2c92b1d266a31b1396c1f7 (diff) |
DRY in helm-insert-match.
* helm.el (helm-insert-match): Do it, use end.
Diffstat (limited to 'helm.el')
-rw-r--r-- | helm.el | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3718,9 +3718,9 @@ respectively `helm-cand-num' and `helm-cur-source'." (concat it "\nmouse-1: select candidate\nmouse-3: menu actions") "mouse-1: select candidate\nmouse-3: menu actions")))) (when num - (put-text-property start (point-at-eol) 'helm-cand-num num)) + (put-text-property start end 'helm-cand-num num)) (when source - (put-text-property start (point-at-eol) 'helm-cur-source source)) + (put-text-property start end 'helm-cur-source source)) (funcall insert-function "\n")))) (defun helm--mouse-reset-selection-help-echo () |