removed modification of org-babel-load-languages
authorEric Schulte <schulte.eric@gmail.com>
Sat, 13 Jul 2013 17:05:45 +0000 (11:05 -0600)
committerEric Schulte <schulte.eric@gmail.com>
Sat, 13 Jul 2013 17:05:45 +0000 (11:05 -0600)
* lisp/ob-C.el: Don't modify `org-babel-load-languages' from ob-* files.

lisp/ob-C.el

index b0eaf6f..e9eec93 100644 (file)
@@ -39,8 +39,6 @@
 
 (defvar org-babel-tangle-lang-exts)
 (add-to-list 'org-babel-tangle-lang-exts '("C++" . "cpp"))
-(let ((x (member '(C . t) org-babel-load-languages)))
-  (setcdr x  (cons '(C++ . t) (subseq x 1))))
 
 (defvar org-babel-default-header-args:C '())