Fix command-log-mode not disabling on toggle

clm/toggle-command-log-buffer enables global-command-log-mode, but
doesn't disable it on second invocation, so we use
global-command-log-mode instead.
This commit is contained in:
Henrik Lissner 2018-09-28 11:49:51 -04:00
parent ddaf1e5b67
commit 3961ba1662
2 changed files with 7 additions and 5 deletions

View file

@ -268,10 +268,12 @@ savehist file."
(advice-add #'undo-tree-save-history :around #'doom*compress-undo-tree-history))
;; `command-log-mode'
(setq command-log-mode-auto-show t
command-log-mode-open-log-turns-on-mode t
command-log-mode-is-global t)
(def-package! command-log-mode
:commands global-command-log-mode
:config
(setq command-log-mode-auto-show t
command-log-mode-open-log-turns-on-mode nil
command-log-mode-is-global t))
(def-package! expand-region