commit 001c3adcc521223f6b53a2243635528b2cb7f7e8
parent 5bdf3ccc728ca2db734a686f9d4893c57ed59d90
Author: Iqbal Ansari <iqbalansari02@yahoo.com>
Date: Wed, 18 Oct 2017 20:12:07 +0530
Fix creation of temporary file for downloading emoji images
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/emojify.el b/emojify.el
@@ -1354,7 +1354,8 @@ of the window. DISPLAY-START corresponds to the new start of the window."
(defun emojify--emoji-download-emoji-set (data)
"Download the emoji images according to DATA."
- (let ((destination (make-temp-name temporary-file-directory)))
+ (let ((destination (expand-file-name (make-temp-name "emojify")
+ temporary-file-directory)))
(url-copy-file (ht-get data "url")
destination)
(let ((downloaded-sha (with-temp-buffer