]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 28 Sep 2009 11:54:34 +0000 (11:54 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 28 Sep 2009 11:54:34 +0000 (11:54 +0000)
lisp/net/tramp.el

index 08e9e6bc3f4cab14d32788aa70f1b0bef451f5ed..a558ccd41fd4df5169d45708c4e11c9ad7ee682b 100644 (file)
           'tramp-gvfs)
 
         ;; Load gateways.  It needs `make-network-process' from Emacs 22.
-        (when (functionp 'make-network-process) 'tramp-gw)))
+        (when (functionp 'make-network-process) 'tramp-gw)
+
+        ;; tramp-imap needs both epa (from Emacs 23.1) and imap-hash
+        ;; (from Emacs 23.2).
+        (when (and (locate-library "epa") (locate-library "imap-hash"))
+          'tramp-imap)))
 
      (when feature
        ;; We have used just some basic tests, whether a package shall
@@ -3788,7 +3793,7 @@ This is like `dired-recursive-delete-directory' for Tramp files."
                (if (memq (char-after end) '(?\n ?\ ))
                    ;; End is followed by \n or by " -> ".
                    (put-text-property start end 'dired-filename t)))))
-         ;; Reove training lines.
+         ;; Remove trailing lines.
          (goto-char (tramp-compat-line-beginning-position))
          (while (looking-at "//")
            (forward-line 1)