From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: 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/)] Date: Thu, 06 Mar 2014 14:58:02 -0700 Message-ID: <87a9d3ug55.fsf@gmail.com> References: <87wqg8wskr.fsf@yahoo.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLgct-0001nx-3b for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 17:18:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WLgco-0005yF-LB for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 17:18:50 -0500 Received: from mail-pa0-x236.google.com ([2607:f8b0:400e:c03::236]:36812) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WLgco-0005xf-Dw for emacs-orgmode@gnu.org; Thu, 06 Mar 2014 17:18:46 -0500 Received: by mail-pa0-f54.google.com with SMTP id lf10so3294218pab.27 for ; Thu, 06 Mar 2014 14:18:45 -0800 (PST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Richard Cc: emacs-orgmode@gnu.org Applied, Thanks. Nicolas Richard 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 > 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