commit 8382a5235ad3402f96f9010ee1b71fa2b178a995
parent 76e9ccf384f49370628e31b05dda29e5fa7b921c
Author: Feng Shu <tumashu@163.com>
Date: Fri, 24 May 2019 08:36:16 +0800
Make org-download-screenshot-file work well with window system
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/org-download.el b/org-download.el
@@ -144,7 +144,7 @@ will be used."
;; take an image that is already on the clipboard, for Windows
(const :tag "imagemagick/convert" "convert clipboard: %s")))
-(defcustom org-download-screenshot-file "/tmp/screenshot.png"
+(defcustom org-download-screenshot-file (concat temporary-file-directory "screenshot.png")
"The file to capture screenshots."
:type 'string)