Skip to content

Commit

Permalink
feat(real-backup): make real-backup as a separate package
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Feb 16, 2024
1 parent bf02dc2 commit f892016
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 232 deletions.
36 changes: 0 additions & 36 deletions core/me-loaddefs.el
Original file line number Diff line number Diff line change
Expand Up @@ -194,43 +194,7 @@ See `+writing-mode' for more information on +Writing mode.
(register-definition-prefixes "../modules/extras/me-writing-mode" '("+turn-on-writing-mode" "+writing-"))


;;; Generated autoloads from ../elisp/real-backup.el

(autoload 'real-backup-cleanup "../elisp/real-backup" "\
Cleanup backups of FILENAME, keeping `real-backup-cleanup-keep' copies.
(fn FILENAME)" t)
(autoload 'real-backup-open-backup "../elisp/real-backup" "\
Open a backup of FILENAME or the current buffer.
(fn FILENAME)" t)
(defvar real-backup-mode nil "\
Non-nil if Real-Backup mode is enabled.
See the `real-backup-mode' command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node `Easy Customization')
or call the function `real-backup-mode'.")
(custom-autoload 'real-backup-mode "../elisp/real-backup" nil)
(autoload 'real-backup-mode "../elisp/real-backup" "\
Automatically backup files after saving them.
This is a global minor mode. If called interactively, toggle the
`Real-Backup mode' mode. If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.
If called from Lisp, toggle the mode if ARG is `toggle'. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate `(default-value \\='real-backup-mode)'.
The mode's hook is called both when the mode is enabled and when
it is disabled.
(fn &optional ARG)" t)
(register-definition-prefixes "../elisp/real-backup" '("real-backup"))


;;; Generated autoloads from ../elisp/valgrind.el
Expand Down
196 changes: 0 additions & 196 deletions elisp/real-backup.el

This file was deleted.

4 changes: 4 additions & 0 deletions modules/me-editor.el
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@
(append super-save-triggers
'(magit magit-status winner-undo winner-redo find-file))))

(use-package real-backup
:straight (:host github :repo "abougouffa/real-backup")
:hook (minemacs-first-file . real-backup-mode))

(use-package selection-highlight-mode
:straight (:host github :repo "balloneij/selection-highlight-mode")
:hook (minemacs-first-file . selection-highlight-mode)
Expand Down

0 comments on commit f892016

Please sign in to comment.