summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacs/init.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/init.org b/emacs/init.org
index 75be74a..3a1f712 100644
--- a/emacs/init.org
+++ b/emacs/init.org
@@ -1419,6 +1419,15 @@
* Desktop :desktop:
+ Always load desktops. The way I close them doesn't seem to delete
+ the ~.emacs.desktop.lock~ files, and I don't usually run more than one
+ Emacs instance and thus usually don't need the locked files anyway,
+ so try to ignore them.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq desktop-load-locked-desktop t)
+ #+END_SRC
+
** Don't close some more buffers
Add some regular expressions to the "don't kill" list of the ~desktop~