Function: pcomplete-parse-buffer-arguments

pcomplete-parse-buffer-arguments is a byte-compiled function defined in pcomplete.el.gz.

Signature

(pcomplete-parse-buffer-arguments)

Documentation

Parse whitespace separated arguments in the current region.

Source Code

;; Defined in /usr/src/emacs/lisp/pcomplete.el.gz
(defun pcomplete-parse-buffer-arguments ()
  "Parse whitespace separated arguments in the current region."
  (let ((begin (point-min))
	(end (point-max))
	begins args)
    (save-excursion
      (goto-char begin)
      (while (< (point) end)
	(skip-chars-forward " \t\n")
	(push (point) begins)
	(skip-chars-forward "^ \t\n")
	(push (buffer-substring-no-properties
               (car begins) (point))
              args))
      (cons (nreverse args) (nreverse begins)))))