summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-compat.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2007-12-18 21:02:53 +0000
committerMichael Albinus <michael.albinus@gmx.de>2007-12-18 21:02:53 +0000
commit9fa0d3aabb61dc96512fdf83e832ebb4d3686eaa (patch)
treec866ae5f16d7dc8f146b56527d52e683c90ad5ba /lisp/net/tramp-compat.el
parentd2f795854ea4d0eb76b470779e38e5f8a23e9847 (diff)
downloademacs-9fa0d3aabb61dc96512fdf83e832ebb4d3686eaa.tar.gz
* files.el (cd-absolute): Set `list-buffers-directory' in order to
show correct path in buffer list. * net/tramp.el (tramp-open-connection-setup-interactive-shell) (tramp-find-shell): Send only single prompt setting commands, in order to avoid double-prompt. * net/tramp-compat.el (top): Require cl only when compiling. Reported by Glenn Morris <rgm@gnu.org>.
Diffstat (limited to 'lisp/net/tramp-compat.el')
-rw-r--r--lisp/net/tramp-compat.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el
index 19d25f43515..b63b8c1e2fb 100644
--- a/lisp/net/tramp-compat.el
+++ b/lisp/net/tramp-compat.el
@@ -29,10 +29,13 @@
;;; Code:
-(eval-and-compile
+(eval-when-compile
;; Pacify byte-compiler.
- (require 'cl)
+ (require 'cl))
+
+(eval-and-compile
+
(require 'custom)
;; Load the appropriate timer package.