Emacs: Improve documentation for dtrt-indent config.

This commit is contained in:
tastytea 2019-12-29 04:36:42 +01:00
parent a0b5c561cb
commit f43c6b5d43
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; common.el --- Common programming settings. -*- lexical-binding: t; -*-
;; Time-stamp: <2019-12-26T20:41:06+0100>
;; Time-stamp: <2019-12-29T00:04:25+0100>
;;; Commentary:
@ -20,8 +20,9 @@
(electric-pair-mode t) ; Auto-type closing brackets.
)
;; Guess indentation (c-basic-offset).
;; Guess indentation and if spaces or tabs are to be used.
(use-package dtrt-indent
;; FIXME: Should run before whitespace-mode.
:hook
(prog-mode . dtrt-indent-mode)
)