Commit Graph

13 Commits

Author SHA1 Message Date
ad6a3d0f33 refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
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
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
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
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
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
d25da7185c Making gpg files incompatible with undo-fu session 2020-07-16 08:43:21 -06:00
c4a1cc0493 emacs/undo: use doom-first-buffer-hook 2020-05-18 15:38:11 -04:00
5c493541a9 Fix #3089: load unfo-fu a little sooner 2020-05-13 14:05:58 -04:00
5e7d684927 Fix #3089: undo-fu-mode not enabled early enough 2020-05-11 15:31:16 -04:00
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
1d6f0b3e44 Move undo-fu keybinds to :emacs undo module 2020-04-13 18:50:29 -04:00
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