Skip to content

Commit f892016

Browse files
committed
feat(real-backup): make real-backup as a separate package
1 parent bf02dc2 commit f892016

File tree

3 files changed

+4
-232
lines changed

3 files changed

+4
-232
lines changed

core/me-loaddefs.el

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -194,43 +194,7 @@ See `+writing-mode' for more information on +Writing mode.
194194
(register-definition-prefixes "../modules/extras/me-writing-mode" '("+turn-on-writing-mode" "+writing-"))
195195

196196

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

199-
(autoload 'real-backup-cleanup "../elisp/real-backup" "\
200-
Cleanup backups of FILENAME, keeping `real-backup-cleanup-keep' copies.
201-
202-
(fn FILENAME)" t)
203-
(autoload 'real-backup-open-backup "../elisp/real-backup" "\
204-
Open a backup of FILENAME or the current buffer.
205-
206-
(fn FILENAME)" t)
207-
(defvar real-backup-mode nil "\
208-
Non-nil if Real-Backup mode is enabled.
209-
See the `real-backup-mode' command
210-
for a description of this minor mode.
211-
Setting this variable directly does not take effect;
212-
either customize it (see the info node `Easy Customization')
213-
or call the function `real-backup-mode'.")
214-
(custom-autoload 'real-backup-mode "../elisp/real-backup" nil)
215-
(autoload 'real-backup-mode "../elisp/real-backup" "\
216-
Automatically backup files after saving them.
217-
218-
This is a global minor mode. If called interactively, toggle the
219-
`Real-Backup mode' mode. If the prefix argument is positive,
220-
enable the mode, and if it is zero or negative, disable the mode.
221-
222-
If called from Lisp, toggle the mode if ARG is `toggle'. Enable
223-
the mode if ARG is nil, omitted, or is a positive number.
224-
Disable the mode if ARG is a negative number.
225-
226-
To check whether the minor mode is enabled in the current buffer,
227-
evaluate `(default-value \\='real-backup-mode)'.
228-
229-
The mode's hook is called both when the mode is enabled and when
230-
it is disabled.
231-
232-
(fn &optional ARG)" t)
233-
(register-definition-prefixes "../elisp/real-backup" '("real-backup"))
234198

235199

236200
;;; Generated autoloads from ../elisp/valgrind.el

elisp/real-backup.el

Lines changed: 0 additions & 196 deletions
This file was deleted.

modules/me-editor.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@
8080
(append super-save-triggers
8181
'(magit magit-status winner-undo winner-redo find-file))))
8282

83+
(use-package real-backup
84+
:straight (:host github :repo "abougouffa/real-backup")
85+
:hook (minemacs-first-file . real-backup-mode))
86+
8387
(use-package selection-highlight-mode
8488
:straight (:host github :repo "balloneij/selection-highlight-mode")
8589
:hook (minemacs-first-file . selection-highlight-mode)

0 commit comments

Comments
 (0)