Emacs : org image paste in wsl, location fix🍨.

This commit is contained in:
2022-05-17 22:36:17 +09:00
parent f4c85032de
commit 4f1560ff9c

View File

@ -105,7 +105,8 @@ same directory as the org-buffer and insert a link to this file."
(let* ((target-file (let* ((target-file
(concat (concat
(make-temp-name (make-temp-name
(concat (buffer-file-name) (concat "~/org/images/"
(f-filename buffer-file-name)
"_" "_"
(format-time-string "%Y%m%d_%H%M%S_"))) ".png")) (format-time-string "%Y%m%d_%H%M%S_"))) ".png"))
(wsl-path (wsl-path