Commit 5824dd5b authored by Michael Albinus's avatar Michael Albinus

Quote directory name in tramp-flush-directory-property

* net/tramp-cache.el (tramp-flush-directory-property): Quote directory
name when used in regexp.
parent 0115aceb
2015-04-04 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-cache.el (tramp-flush-directory-property): Quote directory
name when used in regexp.
2015-04-04 Alan Mackenzie <acm@muc.de>
Fix debbugs#20240 part two (jit-lock error during `comment-dwim').
......
......@@ -196,7 +196,8 @@ Remove also properties of all files in subdirectories."
(maphash
(lambda (key _value)
(when (and (stringp (tramp-file-name-localname key))
(string-match directory (tramp-file-name-localname key)))
(string-match (regexp-quote directory)
(tramp-file-name-localname key)))
(remhash key tramp-cache-data)))
tramp-cache-data)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment