diff options
| author | Michal Nazarewicz | 2020-04-26 19:30:41 +0100 |
|---|---|---|
| committer | Michal Nazarewicz | 2020-05-01 19:31:19 +0100 |
| commit | 145aab0672ae259736ee9230f8e0ff4effa5f4fd (patch) | |
| tree | acb5fd9b9eda1a00d4dab0832c692e4f34e87f74 /etc | |
| parent | 4b6c2bcecfe84585bae9fdfecbd87a48291793a5 (diff) | |
| download | emacs-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/NEWS | 16 |
1 files changed, 15 insertions, 1 deletions
| @@ -198,7 +198,6 @@ like cell phones, tablets or cameras. | |||
| 198 | Previously, assigning a new template to an already defined tag had no | 198 | Previously, assigning a new template to an already defined tag had no |
| 199 | effect. | 199 | effect. |
| 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. | |||
| 288 | These new navigation commands are bound to 'n' and 'p' in | 287 | These 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 | ||
| 294 | comment styles supported by Doxygen (namely ‘///’, ‘//!’, ‘/** … */’ | ||
| 295 | and ‘/*! … */’. ‘gtkdoc’ remains the default for C and C++ modes; to | ||
| 296 | use ‘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 | |||
| 304 | or 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 | ||