From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Miele Subject: Re: [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias Date: Tue, 19 Mar 2019 11:17:34 +0000 Message-ID: <87imwfdsfl.fsf@gmail.com> References: <87y35dy6ri.fsf@gmail.com> <87va0fsw3d.fsf@nicolasgoaziou.fr> 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]:54630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6CkV-0003a0-35 for emacs-orgmode@gnu.org; Tue, 19 Mar 2019 07:17:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6CkU-0002ff-Bq for emacs-orgmode@gnu.org; Tue, 19 Mar 2019 07:17:39 -0400 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:50553) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h6CkT-0002dT-UY for emacs-orgmode@gnu.org; Tue, 19 Mar 2019 07:17:38 -0400 Received: by mail-wm1-x343.google.com with SMTP id z11so7726961wmi.0 for ; Tue, 19 Mar 2019 04:17:37 -0700 (PDT) In-reply-to: <87va0fsw3d.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org Nicolas Goaziou 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. --- 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 02efa1dc9..7591e99ca 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