Lines 247-253
Link Here
|
247 |
|
247 |
|
248 |
;; User Variables: |
248 |
;; User Variables: |
249 |
|
249 |
|
250 |
(defcustom fast-lock-cache-directories '("." "~/.emacs-flc") |
250 |
(defcustom fast-lock-cache-directories '("~/.emacs-flc") |
251 |
; - `internal', keep each file's Font Lock cache file in the same file. |
251 |
; - `internal', keep each file's Font Lock cache file in the same file. |
252 |
; - `external', keep each file's Font Lock cache file in the same directory. |
252 |
; - `external', keep each file's Font Lock cache file in the same directory. |
253 |
"*Directories in which Font Lock cache files are saved and read. |
253 |
"*Directories in which Font Lock cache files are saved and read. |
Lines 265-274
Link Here
|
265 |
((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\") |
265 |
((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\") |
266 |
|
266 |
|
267 |
would cause a file's current directory to be used if the file is under your |
267 |
would cause a file's current directory to be used if the file is under your |
268 |
home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'." |
268 |
home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'. |
|
|
269 |
For security reasons, it is not advisable to use the file's current directory |
270 |
to avoid the possibility of using the cache of another user." |
269 |
:type '(repeat (choice (cons regexp directory) directory)) |
271 |
:type '(repeat (choice (cons regexp directory) directory)) |
270 |
:group 'fast-lock) |
272 |
:group 'fast-lock) |
271 |
|
273 |
|
|
|
274 |
;;;###autoload |
275 |
(put 'fast-lock-cache-directories 'risky-local-variable t) |
276 |
|
272 |
(defcustom fast-lock-minimum-size (* 25 1024) |
277 |
(defcustom fast-lock-minimum-size (* 25 1024) |
273 |
"*Minimum size of a buffer for cached fontification. |
278 |
"*Minimum size of a buffer for cached fontification. |
274 |
Only buffers more than this can have associated Font Lock cache files saved. |
279 |
Only buffers more than this can have associated Font Lock cache files saved. |