Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2019-03-21 21:51:36 +01:00
commit 64f36561ef
1 changed files with 2 additions and 1 deletions

View File

@ -3135,7 +3135,8 @@ after the babel API for OLD-type source blocks is fully defined.
Callers of this function will probably want to add an entry to
`org-src-lang-modes' as well."
(dolist (fn '("execute" "expand-body" "prep-session"
"variable-assignments" "load-session"))
"variable-assignments" "load-session"
"edit-prep"))
(let ((sym (intern-soft (concat "org-babel-" fn ":" old))))
(when (and sym (fboundp sym))
(defalias (intern (concat "org-babel-" fn ":" new)) sym))))