> Maybe it could use convert-standard-file-name.
Something like that, you mean?
(defun thumbs-thumbname (img)
"Return a thumbnail name for the image IMG."
(convert-standard-filename
(concat thumbs-thumbsdir "/" (expand-file-name img))))
It would work, but why should it be better than
(defun thumbs-thumbname (img)
"Return a thumbnail name for the image IMG."
(concat thumbs-thumbsdir "/" (md5 (expand-file-name img))))
?
(I have no bias, it'll work either way. I'm asking out of curiosity.)
--
/L/e/k/t/u
_______________________________________________
Emacs-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-devel