branch: externals/ivy-posframe
commit f92c52364d4c723a6fabcfd182d1bbcfc1b8fdc9
Author: Jonas Møller <jonas.mol...@student.uib.no>
Commit: Jonas Møller <jonas.mol...@student.uib.no>

    Set truncate-lines to ivy-truncate-lines
---
 ivy-posframe.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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'."

Reply via email to