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:
parent
afefce8560
commit
094d74c1c0
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue