1
0
Fork 0

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.
This commit is contained in:
Tom Willemse 2020-12-18 00:05:25 -08:00
parent 996f29b49b
commit f3aef98455

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; This program is free software; you can redistribute it and/or modify
@ -154,8 +154,8 @@
(setq oni-core--recentf-idle-timer (setq oni-core--recentf-idle-timer
(run-with-idle-timer 10 t #'oni-core-recentf-save-list-silently))) (run-with-idle-timer 10 t #'oni-core-recentf-save-list-silently)))
(diminish 'gcmh-mode) (with-eval-after-load 'gcmh (diminish 'gcmh-mode))
(diminish 'ws-butler-mode) (with-eval-after-load 'ws-butler (diminish 'ws-butler-mode))
(electric-indent-mode -1) (electric-indent-mode -1)
(winner-mode) (winner-mode)