Function: octave-skip-comment-forward

octave-skip-comment-forward is a byte-compiled function defined in octave.el.gz.

Signature

(octave-skip-comment-forward LIMIT)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/octave.el.gz
;; Like forward-comment but stop at non-comment blank
(defun octave-skip-comment-forward (limit)
  (let ((ppss (syntax-ppss)))
    (if (nth 4 ppss)
        (goto-char (nth 8 ppss))
      (goto-char (or (comment-search-forward limit t) (point)))))
  (while (and (< (point) limit) (looking-at-p "\\s<"))
    (forward-comment 1)))