Variable: fast-lock-cache-directories
fast-lock-cache-directories is a customizable variable defined in
fast-lock.el.gz.
Value
("~/.emacs-flc")
Documentation
Directories in which Font Lock cache files are saved and read.
Each item should be either DIR or a cons pair of the form (REGEXP . DIR) where DIR is a directory name (relative or absolute) and REGEXP is a regexp.
An attempt will be made to save or read Font Lock cache files using these items until one succeeds (i.e., until a readable or writable one is found). If an item contains REGEXP, DIR is used only if the buffer file name matches REGEXP. For example:
(let ((home (expand-file-name (abbreviate-file-name (file-truename "~/")))))
(list (cons (concat "^" (regexp-quote home)) ".") "~/.emacs-flc"))
=>
(("^/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.
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.
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/fast-lock.el.gz
(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.
Each item should be either DIR or a cons pair of the form (REGEXP . DIR) where
DIR is a directory name (relative or absolute) and REGEXP is a regexp.
An attempt will be made to save or read Font Lock cache files using these items
until one succeeds (i.e., until a readable or writable one is found). If an
item contains REGEXP, DIR is used only if the buffer file name matches REGEXP.
For example:
(let ((home (expand-file-name (abbreviate-file-name (file-truename \"~/\")))))
(list (cons (concat \"^\" (regexp-quote home)) \".\") \"~/.emacs-flc\"))
=>
((\"^/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'.
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")))))