aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichal Nazarewicz2020-04-26 19:30:41 +0100
committerMichal Nazarewicz2020-05-01 19:31:19 +0100
commit145aab0672ae259736ee9230f8e0ff4effa5f4fd (patch)
treeacb5fd9b9eda1a00d4dab0832c692e4f34e87f74 /etc
parent4b6c2bcecfe84585bae9fdfecbd87a48291793a5 (diff)
downloademacs-145aab0672ae259736ee9230f8e0ff4effa5f4fd.tar.gz
emacs-145aab0672ae259736ee9230f8e0ff4effa5f4fd.zip
cc-mode: add support for Doxygen documentation style
* lisp/progmodes/cc-fonts.el (doxygen-font-lock-doc-comments, doxygen-font-lock-keywords): New constants defining Doxygen comment style support. * lisp/progmodes/cc-vars.el (c-doc-comment-style): Updated docstring to mention now-supported Doxygen mode.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS16
1 files changed, 15 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 8fc23111590..753b7a7fd36 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -198,7 +198,6 @@ like cell phones, tablets or cameras.
198Previously, assigning a new template to an already defined tag had no 198Previously, assigning a new template to an already defined tag had no
199effect. 199effect.
200 200
201
202** map.el 201** map.el
203 202
204*** Pcase 'map' pattern added keyword symbols abbreviation. 203*** Pcase 'map' pattern added keyword symbols abbreviation.
@@ -288,6 +287,21 @@ prefix on the Subject line in various languages.
288These new navigation commands are bound to 'n' and 'p' in 287These new navigation commands are bound to 'n' and 'p' in
289'apropos-mode'. 288'apropos-mode'.
290 289
290** cc-mode
291
292*** Added support for Doxygen documentation style.
293‘doxygen’ is now valid ‘c-doc-comment-style’ which recognises all
294comment styles supported by Doxygen (namely ‘///’, ‘//!’, ‘/** … */’
295and ‘/*! … */’. ‘gtkdoc’ remains the default for C and C++ modes; to
296use ‘doxygen’ by default one might evaluate:
297
298 (setq-default c-doc-comment-style
299 '((java-mode . javadoc)
300 (pike-mode . autodoc)
301 (c-mode . doxygen)
302 (c++-mode . doxygen)))
303
304or use it in a custom ‘c-style’.
291 305
292* New Modes and Packages in Emacs 28.1 306* New Modes and Packages in Emacs 28.1
293 307