]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 3 Oct 2009 12:36:21 +0000 (12:36 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 3 Oct 2009 12:36:21 +0000 (12:36 +0000)
lisp/ChangeLog
lisp/net/tramp-ftp.el

index 7a0fa0526d34dbd32647e95d70596423f4bddcc9..ab312990347b8ab6d394f3b2d66b8ec7b37b94fd 100644 (file)
@@ -1,3 +1,10 @@
+2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-ftp.el (tramp-ftp-file-name-handler): Disable
+       `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
+       there could be recursive loading when `default-directory' is a
+       remote file name.  (Bug#4614)
+
 2009-10-03  Glenn Morris  <rgm@gnu.org>
 
        * calendar/calendar.el (calendar-basic-setup): Handle the case where
index eed7f92b0e97cf945a1c8c60187cce32e27ead3e..c2a04efbc1961dca3e391c4ec8bd4a1dc8f4a003 100644 (file)
@@ -134,7 +134,7 @@ First arg specifies the OPERATION, second arg is a list of arguments to
 pass to the OPERATION."
   (save-match-data
     (or (boundp 'ange-ftp-name-format)
-       (require 'ange-ftp))
+       (let (file-name-handler-alist) (require 'ange-ftp)))
     (let ((ange-ftp-name-format
           (list (nth 0 tramp-file-name-structure)
                 (nth 3 tramp-file-name-structure)