aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-05-12 17:30:29 +0000
committerStefan Monnier2008-05-12 17:30:29 +0000
commit6483b8c7937f3c9c2debc2b749293e2adcac0e63 (patch)
treea744e7eebd0c9f048c722f331c935a8881897476
parentf8240abdb871f9e75bf61a6c4eb4864090bd87ad (diff)
downloademacs-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/ChangeLog9
-rw-r--r--lisp/obsolete/fast-lock.el7
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 @@
12008-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
12008-05-10 Reiner Steib <reiner.steib@gmx.de> 62008-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
102008-05-01 Nick Roberts <nickrob@snap.net.nz> 152008-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
152008-04-28 Michael Albinus <michael.albinus@gmx.de> 202008-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
306would cause a file's current directory to be used if the file is under your 306would cause a file's current directory to be used if the file is under your
307home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'." 307home directory hierarchy, or otherwise the absolute directory `~/.emacs-flc'.
308For security reasons, it is not advisable to use the file's current directory
309to 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.