Function: eshell-parse-comment

eshell-parse-comment is a byte-compiled function defined in esh-arg.el.gz.

Signature

(eshell-parse-comment)

Documentation

Parse a comment, finishing the current argument.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-arg.el.gz
(defun eshell-parse-comment ()
  "Parse a comment, finishing the current argument."
  (when (and (not eshell-current-argument)
             (looking-at "#\\([^<'].*\\|$\\)"))
    (add-text-properties (match-beginning 0) (match-end 0) '(comment t))
    (goto-char (match-end 0))
    (eshell-finish-arg)))