diff lisp/files.el @ 7142:2b445c15563e

(ange-ftp-completion-hook-function): Use new inhibit vars.
author Richard M. Stallman <rms@gnu.org>
date Wed, 27 Apr 1994 23:43:46 +0000
parents b5a68d0dd099
children 729f02b2d064
line wrap: on
line diff
--- a/lisp/files.el	Wed Apr 27 22:33:52 1994 +0000
+++ b/lisp/files.el	Wed Apr 27 23:43:46 1994 +0000
@@ -244,7 +244,11 @@
 (defun ange-ftp-completion-hook-function (op &rest args)
   (if (memq op '(file-name-completion file-name-all-completions))
       (apply 'ange-ftp-hook-function op args)
-    (let (file-name-handler-alist)
+    (let ((inhibit-file-name-handlers
+	   (cons 'ange-ftp-completion-hook-function
+		 (and (eq inhibit-file-name-operation op)
+		      inhibit-file-name-handlers)))
+	  (inhibit-file-name-operation op))
       (apply op args))))
 
 (defun pwd ()