Fix #4865: fix deprecation notice on define-minor-mode
This commit is contained in:
parent
65bc279e59
commit
9218473c7c
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue