Explorar el Código

babel: Don't use language major-mode when expanding noweb references

There is no longer any need for the language major mode.
Dan Davison hace 15 años
padre
commit
3637efe647
Se han modificado 1 ficheros con 0 adiciones y 4 borrados
  1. 0 4
      contrib/babel/lisp/org-babel.el

+ 0 - 4
contrib/babel/lisp/org-babel.el

@@ -991,10 +991,6 @@ block but are passed literally to the \"example-block\"."
                    (setq new-body (concat new-body text))))
       (with-temp-buffer
         (insert body) (goto-char (point-min))
-        (funcall (intern (concat (or (and (cdr (assoc lang org-src-lang-modes))
-                                          (symbol-name
-                                           (cdr (assoc lang org-src-lang-modes))))
-                                     lang) "-mode")))
         (setq index (point))
         (while (and (re-search-forward "<<\\(.+?\\)>>" nil t))
           (save-match-data (setf source-name (match-string 1)))