Function: tramp-dired-buffer-command-completion-p

tramp-dired-buffer-command-completion-p is a byte-compiled function defined in tramp-cmds.el.gz.

Signature

(tramp-dired-buffer-command-completion-p SYMBOL BUFFER)

Documentation

A predicate for Tramp interactive commands.

They are completed by M-x TAB only in Dired buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-cmds.el.gz
;; This function takes action, when `read-extended-command-predicate'
;; is set to `command-completion-default-include-p'.
(defun tramp-dired-buffer-command-completion-p (_symbol buffer)
  "A predicate for Tramp interactive commands.
They are completed by `M-x TAB' only in Dired buffers."
  (declare (tramp-suppress-trace t))
  (with-current-buffer buffer
    (tramp-dired-buffer-p)))