bug#5373: Example in font-lock-add-keywords should use shy subgroup

Lennart Borgman <[email protected]> Wed, 13 Jan 2010 11:26:03 +0100
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
Should not the second regexp in

 (font-lock-add-keywords 'c-mode
  '(("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
    ("\\<\\(and\\|or\\|not\\)\\>" . font-lock-keyword-face)))

use a shy subgroup like in

 (font-lock-add-keywords 'c-mode
  '(("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
    ("\\<\\(?:and\\|or\\|not\\)\\>" . font-lock-keyword-face)))



Same problem with the second example.