From 04b36f5538c10de5283163bdd92b78af87129c3b Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 29 Mar 2019 19:39:18 +0900 Subject: [PATCH] Call after init --- emacs.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/emacs.el b/emacs.el index 8d5358a..dc0ae2c 100644 --- a/emacs.el +++ b/emacs.el @@ -473,13 +473,15 @@ found, otherwise returns nil." (when (safe-require-or-eval 'diminish) ;; FIXME: Eval after enabling mode - (diminish 'recently-mode) - (diminish 'editorconfig-mode) - (diminish 'auto-highlight-symbol-mode) - (diminish 'global-whitespace-mode) - (diminish 'which-key-mode) - (diminish 'page-break-lines-mode) - (diminish 'highlight-indentation-mode)) + (call-after-init + (lambda () + (diminish 'recently-mode) + (diminish 'editorconfig-mode) + (diminish 'auto-highlight-symbol-mode) + (diminish 'global-whitespace-mode) + (diminish 'which-key-mode) + (diminish 'page-break-lines-mode) + (diminish 'highlight-indentation-mode)))) ;; http://www.geocities.jp/simizu_daisuke/bunkei-meadow.html#frame-title