From 5f4ea948ef95c9ac86b0c7517ba8fa1ad79c0d15 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 3 Feb 2020 04:32:52 +0100 Subject: [PATCH] Emacs: doom-modeline: Transform setq to custom. --- init.d/basics/appearance.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.d/basics/appearance.el b/init.d/basics/appearance.el index 3fc5a4d..adfced0 100644 --- a/init.d/basics/appearance.el +++ b/init.d/basics/appearance.el @@ -1,6 +1,6 @@ ;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-01-27T02:37:47+0100> +;; Time-stamp: <2020-02-03T04:26:50+0100> ;;; Commentary: @@ -67,10 +67,10 @@ (column-number-mode t) ; Show column numbers in modeline. (size-indication-mode) ; Buffer size display in the modeline. - :config - (setq doom-modeline-minor-modes nil - ;; doom-modeline-buffer-file-name-style 'relative-to-project - doom-modeline-buffer-file-name-style 'truncate-except-project) + :custom + (doom-modeline-minor-modes nil) + (doom-modeline-buffer-file-name-style 'truncate-except-project) + :hook (after-init . doom-modeline-mode) )