浏览代码

Protect ditaa, r, R, and dot blocks from fontification

Since org-exp-blocks.el is now core, we protect these blocks from the
start.
Carsten Dominik 16 年之前
父节点
当前提交
92163f2518
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lisp/org-src.el

+ 1 - 2
lisp/org-src.el

@@ -109,11 +109,10 @@ or similar things which you want to have when editing a source code file,
 but which mess up the display of a snippet in Org exported files.")
 but which mess up the display of a snippet in Org exported files.")
 
 
 (defvar org-protecting-blocks
 (defvar org-protecting-blocks
-  '("src" "example" "latex" "ascii" "html" "docbook")
+  '("src" "example" "latex" "ascii" "html" "docbook" "ditaa" "dot" "r" "R")
   "Blocks that contain text that is quoted, i.e. not processed as Org syntax.
   "Blocks that contain text that is quoted, i.e. not processed as Org syntax.
 This is needed for font-lock setup.")
 This is needed for font-lock setup.")
 
 
-
 ;;; Editing source examples
 ;;; Editing source examples
 
 
 (defvar org-src-mode-map (make-sparse-keymap))
 (defvar org-src-mode-map (make-sparse-keymap))