Why does tramp-run-real-handler include a conditional let-binding of
inhibit-file-name-handlers?  Why doesn't it *always* just prepend its
own list of handlers to inhibit-file-name-handlers?

Would things break with the following definition?

(defun tramp-run-real-handler (operation args)
  "Invoke normal file name handler for OPERATION.
First arg specifies the OPERATION, second arg is a list of arguments to
pass to the OPERATION."
  (let* ((inhibit-file-name-handlers
          `(tramp-file-name-handler
            tramp-completion-file-name-handler
            cygwin-mount-name-hook-function
            cygwin-mount-map-drive-hook-function
            .
            ,inhibit-file-name-handlers)) ;conditional removed
         (inhibit-file-name-operation operation))
    (apply operation args)))

-- 
~/.signature


_______________________________________________
Tramp-devel mailing list
[EMAIL PROTECTED]
http://mail.nongnu.org/mailman/listinfo/tramp-devel

Reply via email to