]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc-view.el (doc-view-cache-directory): Fix bug where an integer
authorReiner Steib <Reiner.Steib@gmx.de>
Wed, 31 Oct 2007 21:17:32 +0000 (21:17 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Wed, 31 Oct 2007 21:17:32 +0000 (21:17 +0000)
was given to concat.

lisp/ChangeLog
lisp/doc-view.el

index 22175da0b8780a74542a55f4a9ab1d4037e185ad..9ff79e5e8f0dd626dd12eb0d3a13010857afd560 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-31  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * doc-view.el (doc-view-cache-directory): Fix bug where an integer
+       was given to concat.
+
 2007-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * doc-view.el (doc-view-mode-map): Bind doc-view-goto-page to the keys
index d43eb97cbcc2c9a369b924acaad85d1a9affc6bf..7b14711fb07f90bbd2eb36b1db3dff73e11f5f08 100644 (file)
@@ -157,7 +157,8 @@ Needed for searching."
   :group 'doc-view)
 
 (defcustom doc-view-cache-directory
-  (expand-file-name (concat "docview" (user-uid)) temporary-file-directory)
+  (expand-file-name (concat "docview" (format "%d" (user-uid)))
+                   temporary-file-directory)
   "The base directory, where the PNG images will be saved."
   :type 'directory
   :group 'doc-view)