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:
parent
ddaf1e5b67
commit
3961ba1662
2 changed files with 7 additions and 5 deletions
|
@ -268,10 +268,12 @@ savehist file."
|
||||||
(advice-add #'undo-tree-save-history :around #'doom*compress-undo-tree-history))
|
(advice-add #'undo-tree-save-history :around #'doom*compress-undo-tree-history))
|
||||||
|
|
||||||
|
|
||||||
;; `command-log-mode'
|
(def-package! command-log-mode
|
||||||
(setq command-log-mode-auto-show t
|
:commands global-command-log-mode
|
||||||
command-log-mode-open-log-turns-on-mode t
|
:config
|
||||||
command-log-mode-is-global t)
|
(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
|
(def-package! expand-region
|
||||||
|
|
|
@ -660,7 +660,7 @@
|
||||||
:desc "Describe key" :n "k" #'describe-key
|
:desc "Describe key" :n "k" #'describe-key
|
||||||
:desc "Find documentation" :n "K" #'+lookup/documentation
|
:desc "Find documentation" :n "K" #'+lookup/documentation
|
||||||
:desc "Find library" :n "l" #'find-library
|
:desc "Find library" :n "l" #'find-library
|
||||||
:desc "Command log" :n "L" #'clm/toggle-command-log-buffer
|
:desc "Command log" :n "L" #'global-command-log-mode
|
||||||
:desc "View *Messages*" :n "m" #'view-echo-area-messages
|
:desc "View *Messages*" :n "m" #'view-echo-area-messages
|
||||||
:desc "Describe mode" :n "M" #'describe-mode
|
:desc "Describe mode" :n "M" #'describe-mode
|
||||||
:desc "Toggle profiler" :n "p" #'doom/toggle-profiler
|
:desc "Toggle profiler" :n "p" #'doom/toggle-profiler
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue