diff options
| author | 2020-12-18 00:05:25 -0800 | |
|---|---|---|
| committer | 2020-12-18 00:05:25 -0800 | |
| commit | f3aef9845574381cda65abf1e619ab1056bd6211 (patch) | |
| tree | c37424a8cf2571df3d08eff4cdbaad04d681fb92 | |
| parent | 996f29b49b8c7946171b0f16e9207caee4282f29 (diff) | |
| download | emacs-config-f3aef9845574381cda65abf1e619ab1056bd6211.tar.gz emacs-config-f3aef9845574381cda65abf1e619ab1056bd6211.zip | |
Properly diminish ‘gcmh-mode’ and ‘ws-butler-mode’
When these packages get updated they get reloaded. This undoes what ‘diminish’
did, so we have to keep doing it whenever they get reloaded.
| -rw-r--r-- | oni-core.el | 6 |
1 files 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 <tom@ryuslash.org> ;; 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) |
