Add desktop-mode to persist buffers when killing emacs.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -22,3 +22,5 @@ transient
|
|||||||
.cache
|
.cache
|
||||||
server
|
server
|
||||||
setup-emacs.el
|
setup-emacs.el
|
||||||
|
*.desktop
|
||||||
|
*.lock
|
||||||
|
|||||||
@@ -10,6 +10,13 @@ This is my configuration for the emacs editor.
|
|||||||
(fringe-mode -1)
|
(fringe-mode -1)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Desktop Mode
|
||||||
|
Using desktop mode emacs will save the state of all buffers, their cursor positions, window arrangements and other things when exiting. When starting these states are restored.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(desktop-save-mode 1)
|
||||||
|
#+END_SRC
|
||||||
|
For more information take a look at the [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Saving-Emacs-Sessions.html][Emacs Manual]]
|
||||||
|
|
||||||
* Set up package repositories
|
* Set up package repositories
|
||||||
** Require package support
|
** Require package support
|
||||||
State that we will need package support and define a macro for adding package repos to the archives
|
State that we will need package support and define a macro for adding package repos to the archives
|
||||||
|
|||||||
Reference in New Issue
Block a user