mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-04 23:42:55 +00:00
Backport commit 2b311a47d from Emacs
* lisp/ox-beamer.el (org-mode): Assume that font-lock is preloaded, which it has been since Emacs 22.1. Assume that font-lock is preloaded 2b311a47dd0cde82fb9d32c303f13700cae4f0b3 Stefan Kangas Fri Aug 25 20:35:38 2023 +0200
This commit is contained in:
parent
860d4fd169
commit
bb7473f3d3
|
@ -924,11 +924,10 @@ holding export options."
|
||||||
"Support for editing Beamer oriented Org mode files."
|
"Support for editing Beamer oriented Org mode files."
|
||||||
:lighter " Bm")
|
:lighter " Bm")
|
||||||
|
|
||||||
(when (fboundp 'font-lock-add-keywords)
|
(font-lock-add-keywords
|
||||||
(font-lock-add-keywords
|
'org-mode
|
||||||
'org-mode
|
'((":\\(B_[a-z]+\\|BMCOL\\):" 1 'org-beamer-tag prepend))
|
||||||
'((":\\(B_[a-z]+\\|BMCOL\\):" 1 'org-beamer-tag prepend))
|
'prepend)
|
||||||
'prepend))
|
|
||||||
|
|
||||||
(defface org-beamer-tag '((t (:box (:line-width 1 :color "grey40"))))
|
(defface org-beamer-tag '((t (:box (:line-width 1 :color "grey40"))))
|
||||||
"The special face for beamer tags."
|
"The special face for beamer tags."
|
||||||
|
|
Loading…
Reference in a new issue