From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias Date: Sun, 17 Mar 2019 13:23:13 +0000 Message-ID: <87y35dy6ri.fsf@gmail.com> Reply-To: sebastian.miele@gmail.com Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5Vl0-000890-PP for emacs-orgmode@gnu.org; Sun, 17 Mar 2019 09:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h5Vkz-0004bp-US for emacs-orgmode@gnu.org; Sun, 17 Mar 2019 09:23:18 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:34791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h5Vkz-0004ab-FE for emacs-orgmode@gnu.org; Sun, 17 Mar 2019 09:23:17 -0400 Received: by mail-wm1-x333.google.com with SMTP id o10so12418339wmc.1 for ; Sun, 17 Mar 2019 06:23:16 -0700 (PDT) Received: from tisch ([2a02:908:1794:9440:7e75:7051:75d8:5a6f]) by smtp.gmail.com with ESMTPSA id b3sm9700128wmj.15.2019.03.17.06.23.13 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Mar 2019 06:23:14 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --- lisp/ob-core.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index fbeb46bb0..8168328de 100644 --- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -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)))) -- 2.21.0