aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2005-10-30 22:28:08 +0000
committerChong Yidong2005-10-30 22:28:08 +0000
commit6c060884e516305a19f04ae5c8b595fb90c22018 (patch)
treecde0ff8de2710c26e8ba4263be6f3b5dfb114375
parent4cf716044edade7b22a5b9c863dc736ed6ec3601 (diff)
downloademacs-6c060884e516305a19f04ae5c8b595fb90c22018.tar.gz
emacs-6c060884e516305a19f04ae5c8b595fb90c22018.zip
* thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs.
(thumbs-thumbsdir): Make .emacs.d if it does not exist.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/thumbs.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index f70d37ef25b..d784f77ff11 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-10-30 Chong Yidong <cyd@stupidchicken.com>
2
3 * thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs.
4 (thumbs-thumbsdir): Make .emacs.d if it does not exist.
5
12005-10-30 Michael Albinus <michael.albinus@gmx.de> 62005-10-30 Michael Albinus <michael.albinus@gmx.de>
2 7
3 * net/tramp.el (tramp-chunksize): Escape parentheses in docstring 8 * net/tramp.el (tramp-chunksize): Escape parentheses in docstring
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index 9a41507e410..2a8f6b217d4 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -65,7 +65,7 @@
65 :version "22.1" 65 :version "22.1"
66 :group 'multimedia) 66 :group 'multimedia)
67 67
68(defcustom thumbs-thumbsdir "~/.emacs-thumbs" 68(defcustom thumbs-thumbsdir "~/.emacs.d/thumbs"
69 "*Directory to store thumbnails." 69 "*Directory to store thumbnails."
70 :type 'directory 70 :type 'directory
71 :group 'thumbs) 71 :group 'thumbs)
@@ -190,7 +190,7 @@ Create the thumbnails directory if it does not exist."
190 (let ((thumbs-thumbsdir (file-name-as-directory 190 (let ((thumbs-thumbsdir (file-name-as-directory
191 (expand-file-name thumbs-thumbsdir)))) 191 (expand-file-name thumbs-thumbsdir))))
192 (unless (file-directory-p thumbs-thumbsdir) 192 (unless (file-directory-p thumbs-thumbsdir)
193 (make-directory thumbs-thumbsdir) 193 (make-directory thumbs-thumbsdir t)
194 (message "Creating thumbnails directory")) 194 (message "Creating thumbnails directory"))
195 thumbs-thumbsdir)) 195 thumbs-thumbsdir))
196 196