summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-05 01:34:37 +0200
committerGravatar Tom Willemse2013-06-05 01:34:37 +0200
commite3a7efa79f99a4cb934138662e7d33618dc3bd5c (patch)
tree876395429b1cea846afec3bfc7611c52c414dfc9
parenta758a94f36f2c07a91331c693f571dd77dbf7d35 (diff)
downloaddotfiles-e3a7efa79f99a4cb934138662e7d33618dc3bd5c.tar.gz
dotfiles-e3a7efa79f99a4cb934138662e7d33618dc3bd5c.zip
Don't look at .emacs.desktop.lock files
-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~