emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master b3f2874 1/2: Fix nasty scoping bug in tramp-cache.e


From: Michael Albinus
Subject: [Emacs-diffs] master b3f2874 1/2: Fix nasty scoping bug in tramp-cache.el
Date: Wed, 08 Apr 2015 09:51:48 +0000

branch: master
commit b3f2874de2b6e31df34a7515aa09e10f01e9b8a6
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Fix nasty scoping bug in tramp-cache.el
    
    * lisp/net/tramp-cache.el (tramp-flush-file-property): Fix nasty scoping 
bug.
---
 lisp/net/tramp-cache.el |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/net/tramp-cache.el b/lisp/net/tramp-cache.el
index ba29ef0..f2ee49f 100644
--- a/lisp/net/tramp-cache.el
+++ b/lisp/net/tramp-cache.el
@@ -174,12 +174,12 @@ Returns VALUE."
     ;; Remove file properties of symlinks.
     (when (and (stringp truename)
               (not (string-equal file (directory-file-name truename))))
-      (tramp-flush-file-property key truename)))
-  ;; Unify localname.
-  (setq key (copy-sequence key))
-  (aset key 3 file)
-  (tramp-message key 8 "%s" file)
-  (remhash key tramp-cache-data))
+      (tramp-flush-file-property key truename))
+    ;; Unify localname.
+    (setq key (copy-sequence key))
+    (aset key 3 file)
+    (tramp-message key 8 "%s" file)
+    (remhash key tramp-cache-data)))
 
 ;;;###tramp-autoload
 (defun tramp-flush-directory-property (key directory)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]