mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-27 07:37:25 +00:00
babel: Don't use language major-mode when expanding noweb references
There is no longer any need for the language major mode.
This commit is contained in:
parent
e32c066874
commit
3637efe647
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user