Function: pcomplete-parse-comint-arguments
pcomplete-parse-comint-arguments is a byte-compiled function defined
in pcomplete.el.gz.
This function is obsolete since 24.1; use
comint-parse-pcomplete-arguments instead.
Signature
(pcomplete-parse-comint-arguments)
Documentation
Parse whitespace separated arguments in the current region.
Source Code
;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
(defun pcomplete-parse-comint-arguments ()
"Parse whitespace separated arguments in the current region."
(declare (obsolete comint-parse-pcomplete-arguments "24.1"))
(let ((begin (save-excursion (comint-bol nil) (point)))
(end (point))
begins args)
(save-excursion
(goto-char begin)
(while (< (point) end)
(skip-chars-forward " \t\n")
(push (point) begins)
(while
(progn
(skip-chars-forward "^ \t\n\\\\")
(when (eq (char-after) ?\\)
(forward-char 1)
(unless (eolp)
(forward-char 1)
t))))
(push (buffer-substring-no-properties (car begins) (point))
args))
(cons (nreverse args) (nreverse begins)))))