emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias
@ 2019-03-17 13:23 Sebastian Miele
  2019-03-18 21:37 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Miele @ 2019-03-17 13:23 UTC (permalink / raw)
  To: emacs-orgmode

---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias
  2019-03-17 13:23 [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias Sebastian Miele
@ 2019-03-18 21:37 ` Nicolas Goaziou
  2019-03-19 11:17   ` Sebastian Miele
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2019-03-18 21:37 UTC (permalink / raw)
  To: Sebastian Miele; +Cc: emacs-orgmode

Hello,

Sebastian Miele <sebastian.miele@gmail.com> writes:

> ---
>  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))))

Could you provide a commit message for your patch?

Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias
  2019-03-18 21:37 ` Nicolas Goaziou
@ 2019-03-19 11:17   ` Sebastian Miele
  2019-03-21 20:52     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Miele @ 2019-03-19 11:17 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode


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.
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias
  2019-03-19 11:17   ` Sebastian Miele
@ 2019-03-21 20:52     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2019-03-21 20:52 UTC (permalink / raw)
  To: Sebastian Miele; +Cc: emacs-orgmode

Hello,

Sebastian Miele <sebastian.miele@gmail.com> writes:

> 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.

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-21 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-17 13:23 [PATCH] ob-core: Add edit-prep in org-babel-make-language-alias Sebastian Miele
2019-03-18 21:37 ` Nicolas Goaziou
2019-03-19 11:17   ` Sebastian Miele
2019-03-21 20:52     ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).