Emacs: Disable continuation lines and enable word-wrapping.

This commit is contained in:
tastytea 2020-01-23 02:41:09 +01:00
parent 8b7f7a955a
commit b3a5e85ede

View File

@ -1,6 +1,6 @@
;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-01-20T02:52:26+0100>
;; Time-stamp: <2020-01-23T02:40:52+0100>
;;; Commentary:
@ -14,6 +14,8 @@
:custom
(require-final-newline t) ; Always add newline at end of file.
(fill-column 80) ; Documents are 80 chars wide by default.
(word-wrap t) ; Wrap at word for continuation lines.
(truncate-line t) ; No continuation lines.
:hook
(text-mode . auto-fill-mode) ; Enable word-wrapping at fill-column.