* Bug: add "elisp" to org-babel-tangle-lang-exts to support "elisp" source blocks [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)]
@ 2014-03-05 15:52 Nicolas Richard
2014-03-06 21:58 ` Eric Schulte
0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Richard @ 2014-03-05 15:52 UTC (permalink / raw)
To: emacs-orgmode
Hello,
"elisp" (vs "emacs-lisp") code blocks are supported via an entry
"org-src-lang-modes" but not in org-babel-tangle-lang-exts.
The patch below is to fix that.
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
Date: Wed, 5 Mar 2014 16:49:30 +0100
Subject: [PATCH] lisp/ob-tangle.el: "elisp" should get tangled to ".el" files.
---
lisp/ob-tangle.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index 5797ea4..8923e16 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -41,7 +41,8 @@
(declare-function org-before-first-heading-p "org" ())
(defcustom org-babel-tangle-lang-exts
- '(("emacs-lisp" . "el"))
+ '(("emacs-lisp" . "el")
+ ("elisp" . "el"))
"Alist mapping languages to their file extensions.
The key is the language name, the value is the string that should
be inserted as the extension commonly used to identify files
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Bug: add "elisp" to org-babel-tangle-lang-exts to support "elisp" source blocks [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)]
2014-03-05 15:52 Bug: add "elisp" to org-babel-tangle-lang-exts to support "elisp" source blocks [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)] Nicolas Richard
@ 2014-03-06 21:58 ` Eric Schulte
0 siblings, 0 replies; 2+ messages in thread
From: Eric Schulte @ 2014-03-06 21:58 UTC (permalink / raw)
To: Nicolas Richard; +Cc: emacs-orgmode
Applied, Thanks.
Nicolas Richard <theonewiththeevillook@yahoo.fr> writes:
> Hello,
>
> "elisp" (vs "emacs-lisp") code blocks are supported via an entry
> "org-src-lang-modes" but not in org-babel-tangle-lang-exts.
>
> The patch below is to fix that.
>
> From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
> Date: Wed, 5 Mar 2014 16:49:30 +0100
> Subject: [PATCH] lisp/ob-tangle.el: "elisp" should get tangled to ".el" files.
>
> ---
> lisp/ob-tangle.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
> index 5797ea4..8923e16 100644
> --- a/lisp/ob-tangle.el
> +++ b/lisp/ob-tangle.el
> @@ -41,7 +41,8 @@
> (declare-function org-before-first-heading-p "org" ())
>
> (defcustom org-babel-tangle-lang-exts
> - '(("emacs-lisp" . "el"))
> + '(("emacs-lisp" . "el")
> + ("elisp" . "el"))
> "Alist mapping languages to their file extensions.
> The key is the language name, the value is the string that should
> be inserted as the extension commonly used to identify files
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-06 22:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 15:52 Bug: add "elisp" to org-babel-tangle-lang-exts to support "elisp" source blocks [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)] Nicolas Richard
2014-03-06 21:58 ` Eric Schulte
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.