diff options
| author | Jonas Møller <jonas.moller@student.uib.no> | 2020-10-24 17:10:35 +0200 |
|---|---|---|
| committer | Jonas Møller <jonas.moller@student.uib.no> | 2020-10-24 17:10:35 +0200 |
| commit | f92c52364d4c723a6fabcfd182d1bbcfc1b8fdc9 (patch) | |
| tree | a28a1f224fedb3900b336f4b8115dc206dc921c0 | |
| parent | b4fed551ab7447ffaad1d802949cac7631e57a0d (diff) | |
Set truncate-lines to ivy-truncate-lines
| -rw-r--r-- | ivy-posframe.el | 4 |
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'." |
