From bce6be12b94d6008266d60dac6d3062d1126611f Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Wed, 31 Oct 2007 21:17:32 +0000 Subject: [PATCH] * doc-view.el (doc-view-cache-directory): Fix bug where an integer was given to concat. --- lisp/ChangeLog | 5 +++++ lisp/doc-view.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 22175da0b87..9ff79e5e8f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-31 Tassilo Horn + + * doc-view.el (doc-view-cache-directory): Fix bug where an integer + was given to concat. + 2007-10-31 Stefan Monnier * doc-view.el (doc-view-mode-map): Bind doc-view-goto-page to the keys diff --git a/lisp/doc-view.el b/lisp/doc-view.el index d43eb97cbcc..7b14711fb07 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -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) -- 2.39.2