Commit 59a685f2 authored by Michael Albinus's avatar Michael Albinus

* net/tramp-cache.el (tramp-flush-file-function): Suppress function

also for Tramp working buffers.
parent 697c09e9
2014-08-05 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-cache.el (tramp-flush-file-function): Suppress function
also for Tramp working buffers.
2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
* progmodes/python.el: Fix completions inside (i)pdb.
......
......@@ -207,7 +207,12 @@ Remove also properties of all files in subdirectories."
"Flush all Tramp cache properties from `buffer-file-name'.
This is suppressed for temporary buffers."
(save-match-data
(unless (string-match "^ \\*temp\\*" (or (buffer-name) ""))
(unless
(string-match
(concat
"^" (regexp-opt '("*tramp/" "*debug tramp/" " *temp*") 'parent))
(or (buffer-name) ""))
(let ((bfn (if (stringp (buffer-file-name))
(buffer-file-name)
default-directory)))
......
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