diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-08-13 12:47:39 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-08-14 11:00:40 +0200 |
commit | 1bfbb2b706db6a7ca9420b27d22a737deccdd5b0 (patch) | |
tree | d1b7571cd2295eb79071aaec4855417e437a6739 /etc | |
parent | a3dd5f1216f76d82fbb8f59bf016c2dab714eb72 (diff) | |
download | emacs-1bfbb2b706db6a7ca9420b27d22a737deccdd5b0.tar.gz |
Add font-lock-doc-markup-face (bug#50041)
This face is intended for mark-up syntax and constructs inside text
using font-lock-doc-face; ie, documentation comments and strings in
programming modes.
* lisp/font-lock.el (font-lock-doc-markup-face): New face.
* lisp/cus-theme.el (custom-theme--listed-faces): Add it to the list.
* doc/lispref/modes.texi (Faces for Font Lock): Document it.
* etc/NEWS: Mention it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -149,6 +149,15 @@ invoked with the '--declarations' command-line option. ** New command 'font-lock-update', bound to 'C-x x f'. This command updates the syntax highlighting in this buffer. ++++ +** A new standard face 'font-lock-doc-markup-face'. +Intended for documentation mark-up syntax and tags inside text that +uses 'font-lock-doc-face', with which it should harmonise. It would +typically be used in structured documentation comments in program +source code by language-specific modes, for mark-up conventions like +Haddock, Javadoc or Doxygen. By default this face inherits from +'font-lock-constant-face'. + ** The new NonGNU ELPA archive is enabled by default alongside GNU ELPA. +++ |