Function: pcomplete-match-string

pcomplete-match-string is a byte-compiled function defined in pcomplete.el.gz.

Signature

(pcomplete-match-string WHICH &optional INDEX OFFSET)

Documentation

Like match-string, but on the current completion argument.

Source Code

;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
(defun pcomplete-match-string (which &optional index offset)
  "Like `match-string', but on the current completion argument."
  (let ((arg (pcomplete-arg (or index 1) offset)))
    (if arg
	(match-string which arg)
      (throw 'pcompleted nil))))