mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Fix undo-fu-session not loading
TIL a minor mode with a non-nil :init-value doesn't trigger its hooks.
This commit is contained in:
@ -23,8 +23,10 @@
|
|||||||
(define-key map (kbd "C-x r u") #'undo-fu-session-save)
|
(define-key map (kbd "C-x r u") #'undo-fu-session-save)
|
||||||
(define-key map (kbd "C-x r U") #'undo-fu-session-recover)
|
(define-key map (kbd "C-x r U") #'undo-fu-session-recover)
|
||||||
map)
|
map)
|
||||||
:init-value t
|
:init-value nil
|
||||||
:global t))
|
:global t)
|
||||||
|
|
||||||
|
(undo-fu-mode +1))
|
||||||
|
|
||||||
|
|
||||||
(use-package! undo-fu-session
|
(use-package! undo-fu-session
|
||||||
|
Reference in New Issue
Block a user