summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-10-28 16:23:55 +0000
committerRichard M. Stallman <rms@gnu.org>2005-10-28 16:23:55 +0000
commit8cee983d52161ecda8b2af093f3280f75f87a6c4 (patch)
tree0da04ba6d397277e7c8f55e0de8374886fbfa281 /lisp/net
parent81013a6cdea31a04089729bfa15c607ef11a1f20 (diff)
downloademacs-8cee983d52161ecda8b2af093f3280f75f87a6c4.tar.gz
(tramp-completion-mode): defvar moved up.
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/tramp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index cc662770dcf..545fa9e94b1 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -4369,6 +4369,9 @@ necessary anymore."
;;; File name handler functions for completion mode
+(defvar tramp-completion-mode nil
+ "If non-nil, we are in file name completion mode.")
+
;; Necessary because `tramp-file-name-regexp-unified' and
;; `tramp-completion-file-name-regexp-unified' aren't different.
;; If nil, `tramp-completion-run-real-handler' is called (i.e. forwarding to
@@ -4435,9 +4438,6 @@ necessary anymore."
(substring
file (length (tramp-completion-handle-file-name-directory file))))
-(defvar tramp-completion-mode nil
- "If non-nil, we are in file name completion mode.")
-
;; Method, host name and user name completion.
;; `tramp-completion-dissect-file-name' returns a list of
;; tramp-file-name structures. For all of them we return possible completions.