Fix #791: replace global-command-log-mode

global-command-log-mode isn't autoloaded, but
clm/toggle-command-log-buffer is, and if command-log-mode-is-global is
set, it is equivalent to global-command-log-mode.
This commit is contained in:
Henrik Lissner 2018-08-08 23:22:37 +02:00
parent 6eafdd7c62
commit 541ce81b91
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 2 deletions

View file

@ -254,7 +254,9 @@ savehist file."
;; `command-log-mode' ;; `command-log-mode'
(setq command-log-mode-auto-show t (setq command-log-mode-auto-show t
command-log-mode-open-log-turns-on-mode t) command-log-mode-open-log-turns-on-mode t
command-log-mode-is-global t)
(def-package! expand-region (def-package! expand-region
:commands (er/contract-region er/mark-symbol er/mark-word) :commands (er/contract-region er/mark-symbol er/mark-word)

View file

@ -635,7 +635,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" #'global-command-log-mode :desc "Command log" :n "L" #'clm/toggle-command-log-buffer
: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