Use doom-which-key-leader-prefix-regexp

Curse your sudden but inevitable betrayal, impatience.
This commit is contained in:
Henrik Lissner 2019-03-11 13:16:51 -04:00
parent f332ba6111
commit dbff052c8a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -159,7 +159,7 @@ If any hook returns non-nil, all hooks after it are ignored.")
"\\`"
;; Modification begin
(if (memq 'doom-leader-map keymaps)
(concat "\\`" doom--which-key-leader-regexp " ")))
(concat "\\`" doom-which-key-leader-prefix-regexp " ")))
;; Modification end
(regexp-quote key)
"\\'"))