Browse Source

Turn off code fontification by default; supply customize interface

	* org.el (org-src-fontify-natively): Set to nil by default.
	Supply cutomize interface.
Dan Davison 14 years ago
parent
commit
569ba0eee8
1 changed files with 5 additions and 2 deletions
  1. 5 2
      lisp/org.el

+ 5 - 2
lisp/org.el

@@ -5022,8 +5022,11 @@ will be prompted for."
 				'(display t invisible t intangible t))
 	t)))
 
-(defvar org-src-fontify-natively t
-  "When non-nil, fontify code in code blocks.")
+(defcustom org-src-fontify-natively nil
+  "When non-nil, fontify code in code blocks."
+  :type 'boolean
+  :group 'org-appearance
+  :group 'org-babel)
 
 (defun org-fontify-meta-lines-and-blocks (limit)
   "Fontify #+ lines and blocks, in the correct ways."