commit c2bb9b0ac6f4f3238860622eea3c5f719a6b52de
parent 73b96580ee3cf14699ebad3d0787ffbf33015a26
Author: Tomas Hlavaty <tom@logand.com>
Date: Sat, 17 Oct 2020 20:59:48 +0200
use local temporary-file-directory in the first place
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/emacs-framebuffer.el b/emacs-framebuffer.el
@@ -123,9 +123,7 @@
(cons framebuffer-default-width framebuffer-default-height))))))
(defun framebuffer-local-cache-directory ()
- (let ((z (or framebuffer-cache-directory
- (let ((default-directory "/"))
- (temporary-file-directory)))))
+ (let ((z (or framebuffer-cache-directory temporary-file-directory)))
(if (file-remote-p z)
(error "framebuffer-cache-directory is remote %s" z)
z)))