aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Claesson2015-02-23 23:50:44 -0800
committerGlenn Morris2015-02-23 23:50:44 -0800
commit7a77ed9147703d9fcaa70868282b9c09d00bfad3 (patch)
tree2e721a6ef33d87173e8931bd080c58ec07e7ad8c
parentf418e991c052a1f9c4ad5b877a47de524c24a892 (diff)
downloademacs-7a77ed9147703d9fcaa70868282b9c09d00bfad3.tar.gz
emacs-7a77ed9147703d9fcaa70868282b9c09d00bfad3.zip
* filecache.el (file-cache-filter-regexps): Add lock files (tiny change)
Fixes: debbugs:19516
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/filecache.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 25b32666754..b0a07df8064 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12015-02-24 Johan Claesson <johanclaesson@bredband.net> (tiny change)
2
3 * filecache.el (file-cache-filter-regexps):
4 Add lock files. (Bug#19516)
5
12015-02-24 Glenn Morris <rgm@gnu.org> 62015-02-24 Glenn Morris <rgm@gnu.org>
2 7
3 * mail/rmailsum.el (rmail-summary-next-all) 8 * mail/rmailsum.el (rmail-summary-next-all)
diff --git a/lisp/filecache.el b/lisp/filecache.el
index d036107d6fb..fd99ee0fb93 100644
--- a/lisp/filecache.el
+++ b/lisp/filecache.el
@@ -154,11 +154,12 @@
154 ;; These are also used in buffers containing lines of file names, 154 ;; These are also used in buffers containing lines of file names,
155 ;; so the end-of-name is matched with $ rather than \\'. 155 ;; so the end-of-name is matched with $ rather than \\'.
156 (list "~$" "\\.o$" "\\.exe$" "\\.a$" "\\.elc$" ",v$" "\\.output$" 156 (list "~$" "\\.o$" "\\.exe$" "\\.a$" "\\.elc$" ",v$" "\\.output$"
157 "\\.$" "#$" "\\.class$") 157 "\\.$" "#$" "\\.class$" "/\\.#")
158 "List of regular expressions used as filters by the file cache. 158 "List of regular expressions used as filters by the file cache.
159File names which match these expressions will not be added to the cache. 159File names which match these expressions will not be added to the cache.
160Note that the functions `file-cache-add-file' and `file-cache-add-file-list' 160Note that the functions `file-cache-add-file' and `file-cache-add-file-list'
161do not use this variable." 161do not use this variable."
162 :version "25.1" ; added "/\\.#"
162 :type '(repeat regexp) 163 :type '(repeat regexp)
163 :group 'file-cache) 164 :group 'file-cache)
164 165