From f3aef9845574381cda65abf1e619ab1056bd6211 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 18 Dec 2020 00:05:25 -0800 Subject: [PATCH] =?UTF-8?q?Properly=20diminish=20=E2=80=98gcmh-mode?= =?UTF-8?q?=E2=80=99=20and=20=E2=80=98ws-butler-mode=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When these packages get updated they get reloaded. This undoes what ‘diminish’ did, so we have to keep doing it whenever they get reloaded. --- oni-core.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oni-core.el b/oni-core.el index 7371015..6ed2b83 100644 --- a/oni-core.el +++ b/oni-core.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2020.1218.000307 +;; Version: 2020.1218.000513 ;; Package-Requires: (oni-data-dir oni-embrace expand-region multiple-cursors gcmh diminish ws-butler which-key) ;; This program is free software; you can redistribute it and/or modify @@ -154,8 +154,8 @@ (setq oni-core--recentf-idle-timer (run-with-idle-timer 10 t #'oni-core-recentf-save-list-silently))) -(diminish 'gcmh-mode) -(diminish 'ws-butler-mode) +(with-eval-after-load 'gcmh (diminish 'gcmh-mode)) +(with-eval-after-load 'ws-butler (diminish 'ws-butler-mode)) (electric-indent-mode -1) (winner-mode)