Commit graph

12 commits

Author SHA1 Message Date
Henrik Lissner
cdbd39ba26 emacs/undo: increase undo-outer-limit
Was missing a 0 (a typo), which meant it was less than its default
value, thus having the opposite effect and making data loss *more*
likely.

Also got rid of outdated comments; I think those have been around since
the sub-v2.0 days of Doom.
2021-07-12 21:59:52 -04:00
Henrik Lissner
69beabe287 Fix #5060: don't hash relative backup file paths
Also refactors undo-fu-session's make-hashed-file-path advise to use
make-backup-file-name-1.
2021-05-16 14:02:34 -04:00
Henrik Lissner
b12a0c02b3 Bump :emacs undo
ideasman42/emacs-undo-fu@f4db4c9 -> ideasman42/emacs-undo-fu@e0ad06b
ideasman42/emacs-undo-fu-session@a038914 -> ideasman42/emacs-undo-fu-session@243d93b

Also refactors module to conform to conventions.
2021-05-06 18:36:32 -04:00
Henrik Lissner
9831642a02 Fix #4993: shorten long file names for caches
Emacs generates long file names for auto-save and backup files.
undo-fu-session and tramp are two more big offenders. This fix SHA1s
their file names so they never exceed 40 characters.

Will also affect any package that uses make-backup-file-name-1
directly (like undo-tree).
2021-05-06 18:36:32 -04:00
Henrik Lissner
1757dd1700
Bump :editor evil
emacs-evil/evil@1e7aa5b -> emacs-evil/evil@373a57e
redguardtoo/evil-nerd-commenter@87734b9 -> redguardtoo/evil-nerd-commenter@b670f69
emacs-evil/evil-collection@c136589 -> emacs-evil/evil-collection@a21725f
2020-10-09 04:41:45 -04:00
Tyler Ware
d25da7185c Making gpg files incompatible with undo-fu session 2020-07-16 08:43:21 -06:00
Henrik Lissner
c4a1cc0493
emacs/undo: use doom-first-buffer-hook 2020-05-18 15:38:11 -04:00
Henrik Lissner
5c493541a9
Fix #3089: load unfo-fu a little sooner 2020-05-13 14:05:58 -04:00
Henrik Lissner
5e7d684927
Fix #3089: undo-fu-mode not enabled early enough 2020-05-11 15:31:16 -04:00
Henrik Lissner
094d74c1c0
Fix undo-fu-session not loading
TIL a minor mode with a non-nil :init-value doesn't trigger its hooks.
2020-04-13 22:37:43 -04:00
Henrik Lissner
1d6f0b3e44
Move undo-fu keybinds to :emacs undo module 2020-04-13 18:50:29 -04:00
Henrik Lissner
3e340ab415
Add :emacs undo module
Moves undo-fu/undo-tree out of core and allows uses to choose one or the
other.

Relevant to #2339
2020-04-13 18:45:40 -04:00