summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-12-06 18:04:33 +0000
committerjao <jao@gnu.org>2021-12-06 18:04:33 +0000
commit6caeae7b43e29841868fc8d43b2b53eb5226d9c2 (patch)
treed461c568165116712f177fbba9bf0909949b3358
parent03b6ed58efa182662ecab9a402ae104cb83cfece (diff)
downloadelibs-6caeae7b43e29841868fc8d43b2b53eb5226d9c2.tar.gz
elibs-6caeae7b43e29841868fc8d43b2b53eb5226d9c2.tar.bz2
lock-file-name-transforms
-rw-r--r--init.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.org b/init.org
index 612f79c..7213e7f 100644
--- a/init.org
+++ b/init.org
@@ -1006,6 +1006,9 @@
(setq auto-save-list-file-prefix "~/.emacs.d/auto-save-list/.saves-"
auto-save-no-message t
kill-buffer-delete-auto-save-files t)
+
+ (setq lock-file-name-transforms
+ '(("\\`/.*/\\([^/]+\\)\\'" "/tmp/emacs-lock/\\1" t)))
#+end_src
*** autoinsert
#+BEGIN_SRC emacs-lisp