[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe f92c523 1/2: Set truncate-lines to ivy-tru

From: Feng Shu
Subject: [elpa] externals/ivy-posframe f92c523 1/2: Set truncate-lines to ivy-truncate-lines
Date: Sun, 25 Oct 2020 23:16:29 -0400 (EDT)

branch: externals/ivy-posframe
commit f92c52364d4c723a6fabcfd182d1bbcfc1b8fdc9
Author: Jonas Møller <jonas.moller@student.uib.no>
Commit: Jonas Møller <jonas.moller@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

[Prev in Thread] Current Thread [Next in Thread]