>> ;; * Dired header line contains duplicated directory name.
I think this patch fixes dired problem.
--
Yuji Yamano
--- rcp.el 1999/06/04 10:54:39 1.1
+++ rcp.el 1999/06/04 10:57:33 1.2
@@ -4,7 +4,7 @@
;; Author: [EMAIL PROTECTED]
;; Keywords: comm, processes
-;; Version: $Id: rcp.el,v 1.1 1999/06/04 10:54:39 yyamano Exp $
+;; Version: $Id: rcp.el,v 1.2 1999/06/04 10:57:33 yyamano Exp $
;; rcp.el is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -1076,6 +1076,7 @@
(defun rcp-handle-expand-file-name (name &optional dir)
"Like `expand-file-name' for rcp files."
+ (save-match-data
;; If DIR is not given, use DEFAULT-DIRECTORY or "/".
(setq dir (or dir default-directory "/"))
;; Unless NAME is absolute, concat DIR and NAME.
@@ -1115,7 +1116,7 @@
;; expand-file-name (this does "/./" and "/../").
(rcp-make-rcp-file-name
method user host
- (rcp-run-real-handler 'expand-file-name (list path)))))))
+ (rcp-run-real-handler 'expand-file-name (list path))))))))
;; Remote commands.