commit d04adffe21f2c54a55c875d34afbddc568e35f28
parent 8382a5235ad3402f96f9010ee1b71fa2b178a995
Author: Oleh Krehel <ohwoeowho@gmail.com>
Date: Sat, 25 May 2019 10:24:40 +0200
org-download.el (org-download-screenshot-file): Use expand-file-name
Re #100
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 (concat temporary-file-directory "screenshot.png")
+(defcustom org-download-screenshot-file (expand-file-name "screenshot.png" temporary-file-directory)
"The file to capture screenshots."
:type 'string)