Update README.md

This commit is contained in:
James Cherti
2025-02-10 10:15:43 -05:00
parent 5446110cfe
commit 7c44f621bf

View File

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