1
0
Fork 0

Diminish gcmh-mode

This commit is contained in:
Tom Willemse 2020-10-15 10:09:47 -07:00
parent 1be166dfc7
commit b041947902
2 changed files with 14 additions and 2 deletions

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
;; Version: 2020.0909.084822
;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace gcmh)
;; Version: 2020.1015.100916
;; Package-Requires: (oni-data-dir expand-region multiple-cursors embrace gcmh diminish)
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@ -27,6 +27,7 @@
;;; Code:
(require 'diminish)
(require 'gcmh)
(require 'oni-data-dir)
(require 'recentf)
@ -153,6 +154,8 @@
(setq oni-core--recentf-idle-timer
(run-with-idle-timer 10 t #'oni-core-recentf-save-list-silently)))
(diminish 'gcmh-mode)
(electric-indent-mode -1)
(winner-mode)
(recentf-mode)

9
test/integration/oni-core.bats Normal file → Executable file
View file

@ -26,3 +26,12 @@
[[ "$output" == *"oni-core-move-end-of-dwim" ]]
}
@test "Starting Emacs diminishes gcmh-mode" {
run emacs -batch -l package -f package-initialize -l subr-x \
-eval "(prin1 (string-empty-p (car (alist-get 'gcmh-mode minor-mode-alist))))"
echo "$output"
[[ "$output" == *"t" ]]
}