summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-06 12:43:59 -0500
committerCase Duckworth2021-04-06 12:43:59 -0500
commitc6f83be8cdbbe2f3fd59574d382d3ecc2564180e (patch)
tree9ab7101bfb78ce861c877c277a22d0f615f8e9aa
parentRemove gnus (diff)
downloademacs-c6f83be8cdbbe2f3fd59574d382d3ecc2564180e.tar.gz
emacs-c6f83be8cdbbe2f3fd59574d382d3ecc2564180e.zip
Truncate lines in the minibuffer
The comment is wrong.
-rw-r--r--init.el5
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)