summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
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.