aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-27 23:43:46 +0000
committerRichard M. Stallman1994-04-27 23:43:46 +0000
commit57e81f57b9540e75ae76cea5b183171aa230aee7 (patch)
tree1b105d10205947b0e66faa347d07ccf65e7590a1
parent6a66e3be464812374da2aa86c84bd48b1ab02b84 (diff)
downloademacs-57e81f57b9540e75ae76cea5b183171aa230aee7.tar.gz
emacs-57e81f57b9540e75ae76cea5b183171aa230aee7.zip
(ange-ftp-completion-hook-function): Use new inhibit vars.
-rw-r--r--lisp/files.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 1bba1ef7dae..b3654ec3656 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -244,7 +244,11 @@ and ignores this variable.")
244(defun ange-ftp-completion-hook-function (op &rest args) 244(defun ange-ftp-completion-hook-function (op &rest args)
245 (if (memq op '(file-name-completion file-name-all-completions)) 245 (if (memq op '(file-name-completion file-name-all-completions))
246 (apply 'ange-ftp-hook-function op args) 246 (apply 'ange-ftp-hook-function op args)
247 (let (file-name-handler-alist) 247 (let ((inhibit-file-name-handlers
248 (cons 'ange-ftp-completion-hook-function
249 (and (eq inhibit-file-name-operation op)
250 inhibit-file-name-handlers)))
251 (inhibit-file-name-operation op))
248 (apply op args)))) 252 (apply op args))))
249 253
250(defun pwd () 254(defun pwd ()