summaryrefslogtreecommitdiff
path: root/lisp/obsolete/fast-lock.el
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2008-05-14 04:28:51 +0000
committerMiles Bader <miles@gnu.org>2008-05-14 04:28:51 +0000
commitecae6af979abcbb5b45c33ee05ceb297678ec9a0 (patch)
tree44e29aca29b1f5bc76cf9f856df0286596cc5184 /lisp/obsolete/fast-lock.el
parent131b3b112ad5405132ad5db55e0562b50477a94c (diff)
parentbb16531656a1daf7deec8a14e3a8a5fdb2c87818 (diff)
downloademacs-ecae6af979abcbb5b45c33ee05ceb297678ec9a0.tar.gz
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1159
Diffstat (limited to 'lisp/obsolete/fast-lock.el')
-rw-r--r--lisp/obsolete/fast-lock.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/obsolete/fast-lock.el b/lisp/obsolete/fast-lock.el
index 0b85618ec1d..eba7b5bd3e4 100644
--- a/lisp/obsolete/fast-lock.el
+++ b/lisp/obsolete/fast-lock.el
@@ -270,7 +270,7 @@ for buffers in Rmail mode, and size is irrelevant otherwise."
(integer :tag "size")))))
:group 'fast-lock)
-(defcustom fast-lock-cache-directories '("." "~/.emacs-flc")
+(defcustom fast-lock-cache-directories '("~/.emacs-flc")
; - `internal', keep each file's Font Lock cache file in the same file.
; - `external', keep each file's Font Lock cache file in the same directory.
"*Directories in which Font Lock cache files are saved and read.
@@ -288,12 +288,15 @@ For example:
((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\")
would cause a file's current directory to be used if the file is under your
-home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'."
+home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'.
+For security reasons, it is not advisable to use the file's current directory
+to avoid the possibility of using the cache of another user."
:type '(repeat (radio (directory :tag "directory")
(cons :tag "Matching"
(regexp :tag "regexp")
(directory :tag "directory"))))
:group 'fast-lock)
+(put 'fast-lock-cache-directories 'risky-local-variable t)
(defcustom fast-lock-save-events '(kill-buffer kill-emacs)
"*Events under which caches will be saved.