diff options
| author | Stefan Monnier | 2008-05-12 17:30:29 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-05-12 17:30:29 +0000 |
| commit | 6483b8c7937f3c9c2debc2b749293e2adcac0e63 (patch) | |
| tree | a744e7eebd0c9f048c722f331c935a8881897476 | |
| parent | f8240abdb871f9e75bf61a6c4eb4864090bd87ad (diff) | |
| download | emacs-6483b8c7937f3c9c2debc2b749293e2adcac0e63.tar.gz emacs-6483b8c7937f3c9c2debc2b749293e2adcac0e63.zip | |
(fast-lock-cache-directories): Remove "." from its
default value and give it the risky-local-variable property.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/obsolete/fast-lock.el | 7 |
2 files changed, 12 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5889ab5fa81..c815d586692 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-05-12 Simon Marshall <simon@gnu.org> | ||
| 2 | |||
| 3 | * fast-lock.el (fast-lock-cache-directories): Remove "." from its | ||
| 4 | default value and give it the risky-local-variable property. | ||
| 5 | |||
| 1 | 2008-05-10 Reiner Steib <reiner.steib@gmx.de> | 6 | 2008-05-10 Reiner Steib <reiner.steib@gmx.de> |
| 2 | 7 | ||
| 3 | * smerge-mode.el (smerge-command-prefix): Fix custom type. | 8 | * smerge-mode.el (smerge-command-prefix): Fix custom type. |
| @@ -9,8 +14,8 @@ | |||
| 9 | 14 | ||
| 10 | 2008-05-01 Nick Roberts <nickrob@snap.net.nz> | 15 | 2008-05-01 Nick Roberts <nickrob@snap.net.nz> |
| 11 | 16 | ||
| 12 | * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): Don't | 17 | * progmodes/gdb-ui.el (gdb-info-breakpoints-custom): |
| 13 | throw error if no file is found. | 18 | Don't throw error if no file is found. |
| 14 | 19 | ||
| 15 | 2008-04-28 Michael Albinus <michael.albinus@gmx.de> | 20 | 2008-04-28 Michael Albinus <michael.albinus@gmx.de> |
| 16 | 21 | ||
diff --git a/lisp/obsolete/fast-lock.el b/lisp/obsolete/fast-lock.el index 409027bc2d9..21ae1a0403c 100644 --- a/lisp/obsolete/fast-lock.el +++ b/lisp/obsolete/fast-lock.el | |||
| @@ -286,7 +286,7 @@ for buffers in Rmail mode, and size is irrelevant otherwise." | |||
| 286 | (integer :tag "size"))))) | 286 | (integer :tag "size"))))) |
| 287 | :group 'fast-lock) | 287 | :group 'fast-lock) |
| 288 | 288 | ||
| 289 | (defcustom fast-lock-cache-directories '("." "~/.emacs-flc") | 289 | (defcustom fast-lock-cache-directories '("~/.emacs-flc") |
| 290 | ; - `internal', keep each file's Font Lock cache file in the same file. | 290 | ; - `internal', keep each file's Font Lock cache file in the same file. |
| 291 | ; - `external', keep each file's Font Lock cache file in the same directory. | 291 | ; - `external', keep each file's Font Lock cache file in the same directory. |
| 292 | "*Directories in which Font Lock cache files are saved and read. | 292 | "*Directories in which Font Lock cache files are saved and read. |
| @@ -304,12 +304,15 @@ For example: | |||
| 304 | ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\") | 304 | ((\"^/your/true/home/directory/\" . \".\") \"~/.emacs-flc\") |
| 305 | 305 | ||
| 306 | would cause a file's current directory to be used if the file is under your | 306 | would cause a file's current directory to be used if the file is under your |
| 307 | home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'." | 307 | home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'. |
| 308 | For security reasons, it is not advisable to use the file's current directory | ||
| 309 | to avoid the possibility of using the cache of another user." | ||
| 308 | :type '(repeat (radio (directory :tag "directory") | 310 | :type '(repeat (radio (directory :tag "directory") |
| 309 | (cons :tag "Matching" | 311 | (cons :tag "Matching" |
| 310 | (regexp :tag "regexp") | 312 | (regexp :tag "regexp") |
| 311 | (directory :tag "directory")))) | 313 | (directory :tag "directory")))) |
| 312 | :group 'fast-lock) | 314 | :group 'fast-lock) |
| 315 | (put 'fast-lock-cache-directories 'risky-local-variable t) | ||
| 313 | 316 | ||
| 314 | (defcustom fast-lock-save-events '(kill-buffer kill-emacs) | 317 | (defcustom fast-lock-save-events '(kill-buffer kill-emacs) |
| 315 | "*Events under which caches will be saved. | 318 | "*Events under which caches will be saved. |