Function: skip-line-prefix

skip-line-prefix is a byte-compiled function defined in fill.el.gz.

Signature

(skip-line-prefix PREFIX)

Documentation

If point is inside the string PREFIX at the beginning of line, move past it.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/fill.el.gz
(defsubst skip-line-prefix (prefix)
  "If point is inside the string PREFIX at the beginning of line, move past it."
  (when (and prefix
	     (< (- (point) (line-beginning-position)) (length prefix))
	     (save-excursion
	       (beginning-of-line)
	       (looking-at (regexp-quote prefix))))
    (goto-char (match-end 0))))