also for Tramp working buffers.
+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.
"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)))