Function: pcomplete/timeout
pcomplete/timeout is an autoloaded and byte-compiled function defined
in pcmpl-unix.el.gz.
Signature
(pcomplete/timeout)
Documentation
Completion for the timeout command.
Source Code
;; Defined in /usr/src/emacs/lisp/pcmpl-unix.el.gz
;;;###autoload
(defun pcomplete/timeout ()
"Completion for the `timeout' command."
(while (string-prefix-p "-" (pcomplete-arg 0))
(pcomplete-here (pcomplete-from-help "timeout --help"))
(when (pcomplete-match "\\`-[ks]\\'") (pcomplete-here)))
(pcomplete-here) ; eat DURATION argument
(funcall pcomplete-command-completion-function)
(funcall (or (pcomplete-find-completion-function (pcomplete-arg 1))
pcomplete-default-completion-function)))