emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A few issues with thumbs.el


From: Juanma Barranquero
Subject: Re: A few issues with thumbs.el
Date: Thu, 26 May 2005 02:40:02 +0200

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]