From: Alan Mackenzie Date: Wed, 17 Jul 2019 09:35:26 +0000 (+0000) Subject: * lisp/progmodes/cc-fonts.el (gtkdoc-font-lock-keywords): Fix faulty regexp X-Git-Tag: emacs-27.0.90~1871 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=87b1495f307b91226dda63ce7c117fed6a396768;p=emacs.git * lisp/progmodes/cc-fonts.el (gtkdoc-font-lock-keywords): Fix faulty regexp --- diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 96c3a6f4a08..d8842c8184f 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@ -2798,7 +2798,7 @@ need for `pike-font-lock-extra-types'.") (defconst gtkdoc-font-lock-keywords `((,(lambda (limit) - (c-font-lock-doc-comments "/\\*\\*\\([^\\*].*\\)?$" limit + (c-font-lock-doc-comments "/\\*\\*\\([^*\n\r].*\\)?$" limit gtkdoc-font-lock-doc-comments) (c-font-lock-doc-comments "/\\*< " limit gtkdoc-font-lock-doc-protection)