summaryrefslogtreecommitdiff
path: root/helm-utils.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-04-20 14:52:18 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-04-20 14:52:18 +0200
commitf64d349a9bbffcb8e099e7b29a015d1c3746331f (patch)
tree60f4ceefefed57972fae152564207b6b172fcd62 /helm-utils.el
parent2188e294976974cf2c8987485ea3b5800ddeaf34 (diff)
Use only first line of help-echo in helm-popup-tip-mode.
* helm-utils.el (helm-show-help-echo): Do it.
Diffstat (limited to 'helm-utils.el')
-rw-r--r--helm-utils.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helm-utils.el b/helm-utils.el
index a835a260..3c6b1dcc 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -719,7 +719,8 @@ Assume regexp is a pcre based regexp."
(save-selected-window
(with-helm-window
(helm-aif (get-text-property (point-at-bol) 'help-echo)
- (popup-tip (concat " " (abbreviate-file-name it))
+ (popup-tip (concat " " (abbreviate-file-name
+ (replace-regexp-in-string "\n.*" "" it)))
:around nil
:point (save-excursion
(end-of-visual-line) (point)))))))))))