Function: pcomplete-actual-arg

pcomplete-actual-arg is a byte-compiled function defined in pcomplete.el.gz.

Signature

(pcomplete-actual-arg &optional INDEX OFFSET)

Documentation

Return the actual text representation of the last argument.

This is different from pcomplete-arg, which returns the textual value that the last argument evaluated to. This function returns what the user actually typed in.

Source Code

;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
(defsubst pcomplete-actual-arg (&optional index offset)
  "Return the actual text representation of the last argument.
This is different from `pcomplete-arg', which returns the textual value
that the last argument evaluated to.  This function returns what the
user actually typed in."
  (buffer-substring (pcomplete-begin index offset) (point)))