[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent change in tramp.el makes byte-compilation fail
From: |
Ulrich Mueller |
Subject: |
Re: Recent change in tramp.el makes byte-compilation fail |
Date: |
Tue, 9 Dec 2008 18:07:39 +0100 |
> looks like the following change:
> 2008-12-04 Michael Albinus <address@hidden>
> * net/tramp.el (top): Write a message, when loading Tramp.
> makes byte-compilation of files that require tramp fail.
This should fix it:
--- emacs-orig/lisp/net/tramp.el
+++ emacs/lisp/net/tramp.el
@@ -7470,8 +7470,10 @@
(unload-feature 'tramp 'force)
(error nil)))
-(when (and load-in-progress (string-match "Loading tramp..."
(current-message)))
- (message "Loading tramp...done"))
+(and load-in-progress
+ (current-message)
+ (string-match "Loading tramp..." (current-message))
+ (message "Loading tramp...done"))
(provide 'tramp)