Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
59a685f2
Commit
59a685f2
authored
Aug 05, 2014
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* net/tramp-cache.el (tramp-flush-file-function): Suppress function
also for Tramp working buffers.
parent
697c09e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/net/tramp-cache.el
lisp/net/tramp-cache.el
+6
-1
No files found.
lisp/ChangeLog
View file @
59a685f2
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.
...
...
lisp/net/tramp-cache.el
View file @
59a685f2
...
...
@@ -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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment