From 0ff970fcd17665e2ddebf37a09f31832bd2115e8 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 27 Jan 2020 04:34:00 +0100 Subject: [PATCH] Emacs: Don't truncate lines in compilation output. --- init.d/programming/common.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.d/programming/common.el b/init.d/programming/common.el index 74bc475..84df7eb 100644 --- a/init.d/programming/common.el +++ b/init.d/programming/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common programming settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-27T02:32:14+0100> +;; Time-stamp: <2020-01-27T04:17:52+0100> ;;; Commentary: @@ -18,6 +18,10 @@ (setq-default indent-tabs-mode nil ; Set default indentation. tab-width 4) (electric-pair-mode t) ; Auto-type closing brackets. + + :hook + ;; Wrap long lines in compilation output. + (compilation-mode . (lambda () (setq-local truncate-lines nil))) ) ;; Guess indentation and if spaces or tabs are to be used.