Function: c-awk-get-NL-prop-cur-line
c-awk-get-NL-prop-cur-line is a byte-compiled function defined in
cc-awk.el.gz.
Signature
(c-awk-get-NL-prop-cur-line &optional DO-LIM)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-awk.el.gz
(defun c-awk-get-NL-prop-cur-line (&optional do-lim)
;; Get the c-awk-NL-prop text-property from the current line, calculating it
;; if necessary. (As a special case, the property doesn't get set on an
;; empty line at EOB (there's no position to set the property on), but the
;; function returns the property value an EOL would have got.)
;;
;; See c-awk-after-if-for-while-condition-p for a description of DO-LIM.
;;
;; This function might do hidden buffer changes.
(save-excursion
(let ((extra-nl nil))
(end-of-line) ; Necessary for the following test to work.
(when (= (forward-line) 1) ; if we were on the last line....
(insert-char ?\n 1) ; ...artificial eol is needed for comment detection.
(setq extra-nl t))
(prog1 (c-awk-get-NL-prop-prev-line do-lim)
(if extra-nl (delete-char -1))))))