]> git.eshelyaron.com Git - emacs.git/commitdiff
Initialize image-dired auxilliary filenames relative to image-dired-dirs (Bug#7518).
authorChong Yidong <cyd@stupidchicken.com>
Mon, 6 Dec 2010 19:45:31 +0000 (14:45 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 6 Dec 2010 19:45:31 +0000 (14:45 -0500)
* image-dired.el (image-dired-db-file)
(image-dired-temp-image-file, image-dired-gallery-dir)
(image-dired-temp-rotate-image-file): Set default values relative
to image-dired-dir (Bug#7518).

lisp/ChangeLog
lisp/image-dired.el

index 88fcbc850be0985d883f63f6d7b20435e38efed1..a758e7f0a7f3b6d4b5319574f73a104668200f3f 100644 (file)
@@ -1,3 +1,10 @@
+2010-12-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * image-dired.el (image-dired-db-file)
+       (image-dired-temp-image-file, image-dired-gallery-dir)
+       (image-dired-temp-rotate-image-file): Set default values relative
+       to image-dired-dir (Bug#7518).
+
 2010-12-06  Lawrence Mitchell  <lawrence.mitchell@ed.ac.uk>
 
        * format.el (format-decode-run-method): Pass args FROM and TO, not
index f006e2e9edd46f592663c240761daa509f206fae..730dd1aadc80a7b7324bb11014788d3a60ab9d8a 100644 (file)
@@ -186,19 +186,19 @@ that allows sharing of thumbnails across different programs."
   :group 'image-dired)
 
 (defcustom image-dired-db-file
-  (locate-user-emacs-file "image-dired/.image-dired_db")
+  (expand-file-name ".image-dired_db" image-dired-dir)
   "Database file where file names and their associated tags are stored."
   :type 'string
   :group 'image-dired)
 
 (defcustom image-dired-temp-image-file
-  (locate-user-emacs-file "image-dired/.image-dired_temp")
+  (expand-file-name ".image-dired_temp" image-dired-dir)
   "Name of temporary image file used by various commands."
   :type 'string
   :group 'image-dired)
 
 (defcustom image-dired-gallery-dir
-  (locate-user-emacs-file "image-dired/.image-dired_gallery")
+  (expand-file-name ".image-dired_gallery" image-dired-dir)
   "Directory to store generated gallery html pages.
 This path needs to be \"shared\" to the public so that it can access
 the index.html page that image-dired creates."
@@ -343,7 +343,7 @@ original image file name and %t which is replaced by
   :group 'image-dired)
 
 (defcustom image-dired-temp-rotate-image-file
-  (locate-user-emacs-file "image-dired/.image-dired_rotate_temp")
+  (expand-file-name ".image-dired_rotate_temp" image-dired-dir)
   "Temporary file for rotate operations."
   :type 'string
   :group 'image-dired)