Function: c-locate-first-punctuation-prop

c-locate-first-punctuation-prop is a byte-compiled function defined in cc-mode.el.gz.

Signature

(c-locate-first-punctuation-prop BEG)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-mode.el.gz
(defun c-locate-first-punctuation-prop (beg)
  ;; Scan the region (BEG (point)) for `syntax-table' punctuation text properties,
  ;; returning the position of the first found, or nil.  Point is unchanged.
  (let ((end (point)))
    (goto-char beg)
    (prog1 (if (c-search-forward-char-property 'syntax-table '(1) end)
	       (match-beginning 0))
      (goto-char end))))