[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: doc-view cache file permissions

From: Tassilo Horn
Subject: Re: doc-view cache file permissions
Date: Wed, 31 Oct 2007 08:22:15 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux)

Hi Stefan,

I really like your changes, they make doc-view even more convenient.
But there's a little bug.  This patch fixes it.

--8<---------------cut here---------------start------------->8---
2007-10-31  Tassilo Horn  <address@hidden>

        * doc-view.el (doc-view-cache-directory): Fix bug where an integer
        was given to concat.
--8<---------------cut here---------------end--------------->8---

--8<---------------cut here---------------start------------->8---
Index: lisp/doc-view.el
RCS file: /sources/emacs/emacs/lisp/doc-view.el,v
retrieving revision 1.15
diff -u -r1.15 doc-view.el
--- lisp/doc-view.el    31 Oct 2007 03:10:32 -0000      1.15
+++ lisp/doc-view.el    31 Oct 2007 07:21:34 -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)
--8<---------------cut here---------------end--------------->8---


reply via email to

[Prev in Thread] Current Thread [Next in Thread]