Function: tramp-compat-tramp-syntax

tramp-compat-tramp-syntax is a byte-compiled function defined in tramp-compat.el.gz.

Signature

(tramp-compat-tramp-syntax)

Documentation

Return proper value of tramp-syntax.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-compat.el.gz
;; `tramp-syntax' has changed its meaning in Emacs 26.1.  We still
;; support old settings.
(defsubst tramp-compat-tramp-syntax ()
  "Return proper value of `tramp-syntax'."
  (cond ((eq tramp-syntax 'ftp) 'default)
	((eq tramp-syntax 'sep) 'separate)
	(t tramp-syntax)))