Mercurial > emacs
diff lisp/thumbs.el @ 90261:7beb78bc1f8e
Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-97
Merge from emacs--cvs-trunk--0
Patches applied:
* emacs--cvs-trunk--0 (patch 616-696)
- Add lisp/mh-e/.arch-inventory
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: lisp/smerge-mode.el: Add 'tools' to file keywords.
- lisp/gnus/ChangeLog: Remove duplicate entry
* gnus--rel--5.10 (patch 147-181)
- Update from CVS
- Merge from emacs--cvs-trunk--0
- Update from CVS: lisp/mml.el (mml-preview): Doc fix.
- Update from CVS: texi/message.texi: Fix default values.
- Update from CVS: texi/gnus.texi (RSS): Addition.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 16 Jan 2006 08:37:27 +0000 |
parents | 2d92f5c9d6ae 624edd899d32 |
children | 5b7d410e31f9 |
line wrap: on
line diff
--- a/lisp/thumbs.el Mon Jan 16 06:59:21 2006 +0000 +++ b/lisp/thumbs.el Mon Jan 16 08:37:27 2006 +0000 @@ -65,7 +65,7 @@ :version "22.1" :group 'multimedia) -(defcustom thumbs-thumbsdir "~/.emacs-thumbs" +(defcustom thumbs-thumbsdir "~/.emacs.d/thumbs" "*Directory to store thumbnails." :type 'directory :group 'thumbs) @@ -190,7 +190,7 @@ (let ((thumbs-thumbsdir (file-name-as-directory (expand-file-name thumbs-thumbsdir)))) (unless (file-directory-p thumbs-thumbsdir) - (make-directory thumbs-thumbsdir) + (make-directory thumbs-thumbsdir t) (message "Creating thumbnails directory")) thumbs-thumbsdir)) @@ -339,6 +339,7 @@ (cond ((string-match ".*\\.jpe?g\\'" img) 'jpeg) ((string-match ".*\\.xpm\\'" img) 'xpm) ((string-match ".*\\.xbm\\'" img) 'xbm) + ((string-match ".*\\.pbm\\'" img) 'pbm) ((string-match ".*\\.gif\\'" img) 'gif) ((string-match ".*\\.bmp\\'" img) 'bmp) ((string-match ".*\\.png\\'" img) 'png)