From d799b1cdeda2a56148da1fdde0c26a0b52e414fd Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 25 Jan 2022 16:55:55 -0600 Subject: Move truncate-lines setting to a mode-hook --- init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'init.el') diff --git a/init.el b/init.el index fe5630a..a7012ea 100644 --- a/init.el +++ b/init.el @@ -62,7 +62,9 @@ (:hook #'+init-add-setup-to-imenu)) (setup (:require auth-source) - (:option auth-sources (list (private/ "authinfo")))) + (:option auth-sources (list (private/ "authinfo"))) + (:with-mode authinfo-mode + (:local-set truncate-lines t))) (setup (:require auto-insert) (setf (alist-get '("lisp/.*\\.el\\'" . "+Emacs lisp") -- cgit 1.4.1-21-gabe81