summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Miele <sebastian.miele@gmail.com>2019-03-19 11:17:34 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2019-03-21 21:51:12 +0100
commit719887958dafd67a3af7355bd3caafe694660e87 (patch)
tree3c4eff3b63992b6f934005db632f43de32a0e72d
parent574695895403790f8c445d057139117a3d3069fa (diff)
downloadorg-mode-719887958dafd67a3af7355bd3caafe694660e87.tar.gz
ob-core: Add edit-prep in org-babel-make-language-alias
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes: > Could you provide a commit message for your patch? * lisp/ob-core.el (org-babel-make-language-alias): Add edit-prep to the list of defalias'ed functions.
-rw-r--r--lisp/ob-core.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ob-core.el b/lisp/ob-core.el
index 1a6bb84..fe658ec 100644
--- a/lisp/ob-core.el
+++ b/lisp/ob-core.el
@@ -3153,7 +3153,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))))