diff options
author | Case Duckworth | 2021-04-06 12:43:59 -0500 |
---|---|---|
committer | Case Duckworth | 2021-04-06 12:43:59 -0500 |
commit | c6f83be8cdbbe2f3fd59574d382d3ecc2564180e (patch) | |
tree | 9ab7101bfb78ce861c877c277a22d0f615f8e9aa | |
parent | Remove gnus (diff) | |
download | emacs-c6f83be8cdbbe2f3fd59574d382d3ecc2564180e.tar.gz emacs-c6f83be8cdbbe2f3fd59574d382d3ecc2564180e.zip |
Truncate lines in the minibuffer
The comment is wrong.
-rw-r--r-- | init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el index 2681faf..535bbbb 100644 --- a/init.el +++ b/init.el | |||
@@ -100,6 +100,11 @@ | |||
100 | (setq-local comment-auto-fill-only-comments t) | 100 | (setq-local comment-auto-fill-only-comments t) |
101 | (turn-on-auto-fill))) | 101 | (turn-on-auto-fill))) |
102 | 102 | ||
103 | ;; Don't truncate lines in the minibuffer. | ||
104 | (add-hook 'minibuffer-setup-hook | ||
105 | (defun hook--minibuffer-enable-truncate-lines () | ||
106 | (setq-local truncate-lines t))) | ||
107 | |||
103 | ;;;; Whitespace | 108 | ;;;; Whitespace |
104 | (setc whitespace-style | 109 | (setc whitespace-style |
105 | '(empty indentation space-before-tab space-after-tab) | 110 | '(empty indentation space-before-tab space-after-tab) |