mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-22 07:09:47 +00:00
Add macros fontifications
* org.el (org-set-font-lock-defaults): Fontify macros. * org-faces.el (org-macro): New face.
This commit is contained in:
parent
ad95f19be1
commit
791ebc6e7b
@ -779,7 +779,16 @@ level org-n-level-faces"
|
||||
(:foreground "burlywood"))
|
||||
(t (,@font))))
|
||||
"Face used to highlight LaTeX data, entities and sub/superscript."
|
||||
:group 'org-faces)
|
||||
:group 'org-faces
|
||||
:version "24.4"
|
||||
:package-version '(Org . "8.0"))
|
||||
|
||||
(defface org-macro
|
||||
(org-compatible-face 'org-latex-and-related nil)
|
||||
"Face for macros."
|
||||
:group 'org-faces
|
||||
:version "24.4"
|
||||
:package-version '(Org . "8.0"))
|
||||
|
||||
(org-copy-face 'mode-line 'org-mode-line-clock
|
||||
"Face used for clock display in mode line.")
|
||||
|
@ -6072,6 +6072,8 @@ needs to be inserted at a specific position in the font-lock sequence.")
|
||||
(list org-any-target-regexp '(0 'org-target t))
|
||||
;; Diary sexps.
|
||||
'("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t))
|
||||
;; Macro
|
||||
'("{{{.+}}}" (0 'org-macro t))
|
||||
'(org-hide-wide-columns (0 nil append))
|
||||
;; TODO keyword
|
||||
(list (format org-heading-keyword-regexp-format
|
||||
|
Loading…
Reference in New Issue
Block a user