Update README.md
This commit is contained in:
@@ -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))
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user