Function: c-forward-comment-minus-1
c-forward-comment-minus-1 is a macro defined in cc-engine.el.gz.
Signature
(c-forward-comment-minus-1)
Documentation
Call (forward-comment -1), taking care of escaped newlines.
Return the result of forward-comment if it gets called, nil otherwise.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defmacro c-forward-comment-minus-1 ()
"Call (forward-comment -1), taking care of escaped newlines.
Return the result of `forward-comment' if it gets called, nil otherwise."
`(if (not comment-end-can-be-escaped)
(forward-comment -1)
(let ((dist (skip-syntax-backward " >")))
(when (and
(< dist 0)
(progn
(skip-syntax-forward " " (- (point) dist 1))
(eq (char-after) ?\n)))
(forward-char)))
(cond
((and (eq (char-before) ?\n)
(eq (char-before (1- (point))) ?\\))
(backward-char)
nil)
(t (forward-comment -1)))))