From c6f83be8cdbbe2f3fd59574d382d3ecc2564180e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 6 Apr 2021 12:43:59 -0500 Subject: Truncate lines in the minibuffer The comment is wrong. --- init.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/init.el b/init.el index 2681faf..535bbbb 100644 --- a/init.el +++ b/init.el @@ -100,6 +100,11 @@ (setq-local comment-auto-fill-only-comments t) (turn-on-auto-fill))) +;; Don't truncate lines in the minibuffer. +(add-hook 'minibuffer-setup-hook + (defun hook--minibuffer-enable-truncate-lines () + (setq-local truncate-lines t))) + ;;;; Whitespace (setc whitespace-style '(empty indentation space-before-tab space-after-tab) -- cgit 1.4.1-21-gabe81