Browse Source

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 years ago
parent
commit
92163f2518
1 changed files with 1 additions and 2 deletions
  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))