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)) ```