summaryrefslogtreecommitdiff
path: root/lisp/doc-view.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/doc-view.el')
-rw-r--r--lisp/doc-view.el3
1 files changed, 2 insertions, 1 deletions
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)