Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
org-src-font-lock-fontify-block: Transfer 'font-lock-face property
* lisp/org-src.el (org-src-font-lock-fontify-block): Copy 'font-lock-face text property in addition to 'face. This is required because Emacs does not enable `font-lock-mode' inside buffers with names starting from space character (Org fontification buffers are such). Without `font-lock-mode' 'font-lock-face is not being remapped to 'face text property and we may sometimes lose the information in the major modes that do fontification by directly setting 'font-lock-face. Reported in https://teddit.net/r/orgmode/comments/w2b0tw/syntax_highlighting_in_orgsource_blocks/igqdx18/
- Loading branch information