From 1903f6bbdc5c417819ffc6ae7d8589aa745d8aec Mon Sep 17 00:00:00 2001 From: "Mingde (Matthew) Zeng" Date: Thu, 6 Feb 2020 09:31:09 -0500 Subject: [PATCH] force (temporary-file-directory) to ignore remote directory --- eaf.el | 1 + 1 file changed, 1 insertion(+) diff --git a/eaf.el b/eaf.el index f1e0b31..a0e563e 100644 --- a/eaf.el +++ b/eaf.el @@ -1092,6 +1092,7 @@ In that way the corresponding function will be called to retrieve the HTML part of the current mail." (interactive) (when-let* ((html (funcall (eaf--get-html-func))) + (default-directory user-emacs-directory) ; force (temporary-file-directory) to ignore remote directory (file (concat (temporary-file-directory) (make-temp-name "eaf-mail-") ".html"))) (with-temp-file file (insert html))