Emacs: Don't truncate lines in compilation output.

This commit is contained in:
tastytea 2020-01-27 04:34:00 +01:00
parent cb83cd5ae7
commit 0ff970fcd1

View File

@ -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.