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

@ -660,7 +660,7 @@
:desc "Describe key" :n "k" #'describe-key
:desc "Find documentation" :n "K" #'+lookup/documentation
: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 "Describe mode" :n "M" #'describe-mode
:desc "Toggle profiler" :n "p" #'doom/toggle-profiler