diff options
Diffstat (limited to 'modules/transcription-config.el')
| -rw-r--r-- | modules/transcription-config.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/transcription-config.el b/modules/transcription-config.el index 530522de..5349ade0 100644 --- a/modules/transcription-config.el +++ b/modules/transcription-config.el @@ -380,7 +380,10 @@ Prompts with completing-read to select from available backends." "b" #'cj/transcription-switch-backend "v" #'cj/transcriptions-buffer "k" #'cj/transcription-kill) -(keymap-set cj/custom-keymap "T" cj/transcribe-map) + +;; Only set keybinding if cj/custom-keymap is bound (not in batch mode) +(when (boundp 'cj/custom-keymap) + (keymap-set cj/custom-keymap "T" cj/transcribe-map)) (with-eval-after-load 'which-key (which-key-add-key-based-replacements |
