Don't set `auto-image-file-mode'. Do not create the thumbnails directory on
commitf271d3c7bd8c99f1ca5544ec5b7dc97cab1e7d79
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 9 Jun 2005 01:41:23 +0000 (9 01:41 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 9 Jun 2005 01:41:23 +0000 (9 01:41 +0000)
treef26336809f1b641cd958deb26ce80b12d20866a0
parentb7aae902ed6d45976a249e44e296df9a97737c16
Don't set `auto-image-file-mode'.  Do not create the thumbnails directory on
loading.
(thumbs-conversion-program): Use `eq' to check the system type, not `equal'.
(thumbs-temp-dir): Set to `temporary-file-directory', not "/tmp".  Fix
docstring.
(thumbs-thumbsdir): New function to return the thumbnails directory, creating it
if needed.
(thumbs-cleanup-thumbsdir, thumbs-thumbname): Use it.
(thumbs-temp-file): Delete variable and make it into a function.
(thumbs-resize-image, thumbs-modify-image): Use it.
(thumbs-kill-buffer): Simplify.
(thumbs-gensym): Defalias or duplicate CL `gensym'.
(thumbs-resize-image, thumbs-resize-interactive): Fix typos in docstrings.
lisp/ChangeLog
lisp/thumbs.el