Mercurial > hg > xemacs-beta
diff lisp/efs/efs-fnh.el @ 116:9f59509498e1 r20-1b10
Import from CVS: tag r20-1b10
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:23:06 +0200 |
parents | 0d2f883870bc |
children | 7d55a9ba150c |
line wrap: on
line diff
--- a/lisp/efs/efs-fnh.el Mon Aug 13 09:21:56 2007 +0200 +++ b/lisp/efs/efs-fnh.el Mon Aug 13 09:23:06 2007 +0200 @@ -3,7 +3,7 @@ ;; ;; File: efs-fnh.el ;; Release: $efs release: 1.15 $ -;; Version: $Revision: 1.2 $ +;; Version: #Revision: 1.3 $ ;; RCS: ;; Description: Look for the emacs version, and install into ;; the file-name-handler-alist @@ -20,7 +20,7 @@ (defconst efs-fnh-version (concat (substring "$efs release: 1.15 $" 14 -2) "/" - (substring "$Revision: 1.2 $" 11 -2))) + (substring "#Revision: 1.3 $" 11 -2))) ;;;; ---------------------------------------------------------------- ;;;; Loading emacs version files @@ -96,7 +96,10 @@ (defun efs-root-handler-function (operation &rest args) "Function to handle completion in the root directory." - (let ((handler (get operation 'efs-root))) + (let ((handler (and (if (boundp 'allow-remote-paths) + allow-remote-paths + t) + (get operation 'efs-root)))) (if handler (apply handler args) (let ((inhibit-file-name-handlers @@ -135,7 +138,8 @@ nil) (and (not (memq (cdr x) - '(efs-file-handler-function + '(remote-path-file-handler-function + efs-file-handler-function efs-root-handler-function ange-ftp-hook-function ange-ftp-completion-hook-function)))