diff options
| author | Michael Albinus | 2014-08-05 10:13:28 +0200 |
|---|---|---|
| committer | Michael Albinus | 2014-08-05 10:13:28 +0200 |
| commit | 59a685f2fed01b4a49b6d951a378d2023f31fc87 (patch) | |
| tree | 3b871123fc1449bb2f4e3ebbffeab70c081e7023 | |
| parent | 697c09e934c85b26ae9b0a50067b02ffff9be650 (diff) | |
| download | emacs-59a685f2fed01b4a49b6d951a378d2023f31fc87.tar.gz emacs-59a685f2fed01b4a49b6d951a378d2023f31fc87.zip | |
* net/tramp-cache.el (tramp-flush-file-function): Suppress function
also for Tramp working buffers.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/tramp-cache.el | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c9b888f3c34..aec717a159a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-08-05 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp-cache.el (tramp-flush-file-function): Suppress function | ||
| 4 | also for Tramp working buffers. | ||
| 5 | |||
| 1 | 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org> | 6 | 2014-08-04 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 7 | ||
| 3 | * progmodes/python.el: Fix completions inside (i)pdb. | 8 | * progmodes/python.el: Fix completions inside (i)pdb. |
diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el index 838d326603c..2098c5ccb0b 100644 --- a/lisp/net/tramp-cache.el +++ b/lisp/net/tramp-cache.el | |||
| @@ -207,7 +207,12 @@ Remove also properties of all files in subdirectories." | |||
| 207 | "Flush all Tramp cache properties from `buffer-file-name'. | 207 | "Flush all Tramp cache properties from `buffer-file-name'. |
| 208 | This is suppressed for temporary buffers." | 208 | This is suppressed for temporary buffers." |
| 209 | (save-match-data | 209 | (save-match-data |
| 210 | (unless (string-match "^ \\*temp\\*" (or (buffer-name) "")) | 210 | (unless |
| 211 | (string-match | ||
| 212 | (concat | ||
| 213 | "^" (regexp-opt '("*tramp/" "*debug tramp/" " *temp*") 'parent)) | ||
| 214 | (or (buffer-name) "")) | ||
| 215 | |||
| 211 | (let ((bfn (if (stringp (buffer-file-name)) | 216 | (let ((bfn (if (stringp (buffer-file-name)) |
| 212 | (buffer-file-name) | 217 | (buffer-file-name) |
| 213 | default-directory))) | 218 | default-directory))) |