From 7c44f621bfa7e275af3853e38471f5c5faed2d12 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Mon, 10 Feb 2025 10:15:43 -0500 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 217545a..e9c45f6 100644 --- a/README.md +++ b/README.md @@ -574,6 +574,10 @@ To configure **easysession**, add the following to `~/.emacs.d/post-init.el`: (global-set-key (kbd "C-c l") 'easysession-switch-to) (global-set-key (kbd "C-c s") 'easysession-save-as) + ;; The depth 102 and 103 have been added to to `add-hook' to ensure that the + ;; session is loaded after all other packages. (Using 103/102 is particularly + ;; useful for those using minimal-emacs.d, where some optimizations restore + ;; `file-name-handler-alist` at depth 101 during `emacs-startup-hook`.) (add-hook 'emacs-startup-hook #'easysession-load-including-geometry 102) (add-hook 'emacs-startup-hook #'easysession-save-mode 103)) ```