From 6caeae7b43e29841868fc8d43b2b53eb5226d9c2 Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 6 Dec 2021 18:04:33 +0000 Subject: lock-file-name-transforms --- init.org | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3