From 541ce81b9124e5d57e260d41f56042bf0e647ffd Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 8 Aug 2018 23:22:37 +0200 Subject: [PATCH] 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. --- core/core-editor.el | 4 +++- modules/config/default/+bindings.el | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/core/core-editor.el b/core/core-editor.el index 3100044f1..88ae20724 100644 --- a/core/core-editor.el +++ b/core/core-editor.el @@ -254,7 +254,9 @@ savehist file." ;; `command-log-mode' (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 :commands (er/contract-region er/mark-symbol er/mark-word) diff --git a/modules/config/default/+bindings.el b/modules/config/default/+bindings.el index c4ce5581e..ec3e95aac 100644 --- a/modules/config/default/+bindings.el +++ b/modules/config/default/+bindings.el @@ -635,7 +635,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" #'global-command-log-mode + :desc "Command log" :n "L" #'clm/toggle-command-log-buffer :desc "View *Messages*" :n "m" #'view-echo-area-messages :desc "Describe mode" :n "M" #'describe-mode :desc "Toggle profiler" :n "p" #'doom/toggle-profiler