mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-13 13:13:35 -05:00
Fix #4865: fix deprecation notice on define-minor-mode
This commit is contained in:
@@ -127,7 +127,8 @@
|
||||
|
||||
(define-minor-mode +dap-running-session-mode
|
||||
"A mode for adding keybindings to running sessions"
|
||||
nil nil (make-sparse-keymap)
|
||||
:init-value nil
|
||||
:keymap (make-sparse-keymap)
|
||||
(when (bound-and-true-p evil-mode)
|
||||
(evil-normalize-keymaps)) ; if you use evil, this is necessary to update the keymaps
|
||||
;; The following code adds to the dap-terminated-hook so that this minor
|
||||
|
Reference in New Issue
Block a user