summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2005-10-30 22:28:08 +0000
committerChong Yidong <cyd@stupidchicken.com>2005-10-30 22:28:08 +0000
commit6c060884e516305a19f04ae5c8b595fb90c22018 (patch)
treecde0ff8de2710c26e8ba4263be6f3b5dfb114375
parent4cf716044edade7b22a5b9c863dc736ed6ec3601 (diff)
downloademacs-6c060884e516305a19f04ae5c8b595fb90c22018.tar.gz
emacs-6c060884e516305a19f04ae5c8b595fb90c22018.tar.bz2
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 @@
+2005-10-30 Chong Yidong <cyd@stupidchicken.com>
+
+ * thumbs.el (thumbs-thumbsdir): Default to ~/.emacs.d/thumbs.
+ (thumbs-thumbsdir): Make .emacs.d if it does not exist.
+
2005-10-30 Michael Albinus <michael.albinus@gmx.de>
* 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 @@
: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 @@ Create the thumbnails directory if it does not exist."
(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))