Migration complete

This commit is contained in:
2024-12-01 14:37:22 +09:00
parent 01e8828da8
commit 935ce54376
5 changed files with 449 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
;;; 00-preserve-between-restarts.el --- -*- no-byte-compile: t; lexical-binding: t; -*-
;;; Description:
;; This file contains some modes that allow the user to preserve their
;; session between restarts, such as recentf, savehist and save-place
;; modes. This file also includes global-auto-revert mode, which
;; automatically updates the contents of a buffer to reflect changes
;; made to the underlying file on disk.
;;; Code:
;; Auto-revert in Emacs is a feature that automatically updates the
;; contents of a buffer to reflect changes made to the underlying file
;; on disk.
(add-hook 'after-init-hook #'global-auto-revert-mode)
;; recentf is an Emacs package that maintains a list of recently
;; accessed files, making it easier to reopen files you have worked on
;; recently.
(add-hook 'after-init-hook #'recentf-mode)
;; savehist is an Emacs feature that preserves the minibuffer history between
;; sessions. It saves the history of inputs in the minibuffer, such as commands,
;; search strings, and other prompts, to a file. This allows users to retain
;; their minibuffer history across Emacs restarts.
(add-hook 'after-init-hook #'savehist-mode)
;; save-place-mode enables Emacs to remember the last location within a file
;; upon reopening. This feature is particularly beneficial for resuming work at
;; the precise point where you previously left off.
(add-hook 'after-init-hook #'save-place-mode)
;;; 00-preserve-between-restarts.el ends here