Variable: c-mark-wrong-style-of-comment

c-mark-wrong-style-of-comment is a customizable variable defined in cc-vars.el.gz.

Value

nil

Documentation

Fontify "invalid" comment delims with font-lock-warning-face if non-nil.

"Invalid" means a line comment when the default comment style (set by
c-toggle-comment-style) is block, or a block comment otherwise.

This variable was added, or its default value changed, in Emacs 27.1.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-vars.el.gz
(defcustom c-mark-wrong-style-of-comment nil
  "Fontify \"invalid\" comment delims with `font-lock-warning-face' if non-nil.
\"Invalid\" means a line comment when the default comment style (set by
`c-toggle-comment-style') is block, or a block comment otherwise."
  :type 'boolean
  :group 'c
  :version "27.1")