summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Møller <jonas.moller@student.uib.no>2020-10-24 17:10:35 +0200
committerJonas Møller <jonas.moller@student.uib.no>2020-10-24 17:10:35 +0200
commitf92c52364d4c723a6fabcfd182d1bbcfc1b8fdc9 (patch)
treea28a1f224fedb3900b336f4b8115dc206dc921c0
parentb4fed551ab7447ffaad1d802949cac7631e57a0d (diff)
Set truncate-lines to ivy-truncate-lines
-rw-r--r--ivy-posframe.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 46a9e0f..c092cc7 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -256,7 +256,9 @@ This variable is useful for `ivy-posframe-read-action' .")
:internal-border-color (face-attribute 'ivy-posframe-border :background nil t)
:override-parameters ivy-posframe-parameters
(funcall ivy-posframe-size-function))
- (ivy-posframe--add-prompt 'ignore))))
+ (ivy-posframe--add-prompt 'ignore)))
+ (with-current-buffer ivy-posframe-buffer
+ (setq-local truncate-lines ivy-truncate-lines)))
(defun ivy-posframe-get-size ()
"The default functon used by `ivy-posframe-size-function'."