changeset 85844:cf0d3de08293

* doc-view.el (doc-view-cache-directory): Fix bug where an integer was given to concat.
author Reiner Steib <Reiner.Steib@gmx.de>
date Wed, 31 Oct 2007 21:17:32 +0000
parents 05357c175a50
children e95712050fdc
files lisp/ChangeLog lisp/doc-view.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Oct 31 20:40:30 2007 +0000
+++ b/lisp/ChangeLog	Wed Oct 31 21:17:32 2007 +0000
@@ -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
--- a/lisp/doc-view.el	Wed Oct 31 20:40:30 2007 +0000
+++ b/lisp/doc-view.el	Wed Oct 31 21:17:32 2007 +0000
@@ -157,7 +157,8 @@
   :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)