summaryrefslogtreecommitdiff
path: root/lisp/filecache.el
diff options
context:
space:
mode:
authorJohan Claesson <johanclaesson@bredband.net>2015-02-23 23:50:44 -0800
committerGlenn Morris <rgm@gnu.org>2015-02-23 23:50:44 -0800
commit7a77ed9147703d9fcaa70868282b9c09d00bfad3 (patch)
tree2e721a6ef33d87173e8931bd080c58ec07e7ad8c /lisp/filecache.el
parentf418e991c052a1f9c4ad5b877a47de524c24a892 (diff)
downloademacs-7a77ed9147703d9fcaa70868282b9c09d00bfad3.tar.gz
* filecache.el (file-cache-filter-regexps): Add lock files (tiny change)
Fixes: debbugs:19516
Diffstat (limited to 'lisp/filecache.el')
-rw-r--r--lisp/filecache.el3
1 files changed, 2 insertions, 1 deletions
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 @@
;; These are also used in buffers containing lines of file names,
;; so the end-of-name is matched with $ rather than \\'.
(list "~$" "\\.o$" "\\.exe$" "\\.a$" "\\.elc$" ",v$" "\\.output$"
- "\\.$" "#$" "\\.class$")
+ "\\.$" "#$" "\\.class$" "/\\.#")
"List of regular expressions used as filters by the file cache.
File names which match these expressions will not be added to the cache.
Note that the functions `file-cache-add-file' and `file-cache-add-file-list'
do not use this variable."
+ :version "25.1" ; added "/\\.#"
:type '(repeat regexp)
:group 'file-cache)