summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2007-02-28 22:22:20 +0000
committerChong Yidong <cyd@stupidchicken.com>2007-02-28 22:22:20 +0000
commite762677c59aa46a3d55d6c948e1f86a97037e98f (patch)
treeb56f21f9537a28c2eb246914c233779c0b6181e9
parent9084727e8cf738b6a4cb0472ab30f3e4417f4fa9 (diff)
downloademacs-e762677c59aa46a3d55d6c948e1f86a97037e98f.tar.gz
(tramp-file-name-handler): Revert last change.
-rw-r--r--lisp/net/tramp.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 73cab23d1d9..602c6d25eaa 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4348,12 +4348,7 @@ Falls back to normal file name handler if no tramp file name handler exists."
(save-match-data
(let* ((filename (apply 'tramp-file-name-for-operation operation args))
(completion (tramp-completion-mode filename))
- (foreign (tramp-find-foreign-file-name-handler filename))
- ;; If combine-after-change-calls is t, it is possible to
- ;; get Emacs into a confused state since the backend
- ;; handlers can scribble to temp buffers, e.g. through
- ;; format-spec. So we ignore all modification hooks.
- (inhibit-modification-hooks t))
+ (foreign (tramp-find-foreign-file-name-handler filename)))
(with-parsed-tramp-file-name filename nil
(cond
;; When we are in completion mode, some operations shouldn' be