Aidan Gauland wrote: >[1 ] >[1.1 ] >Attempting to export a buffer with a #+BEGIN_SRC block with no language >specified (i.e. an argumentless #+BEGIN_SRC block) fails with the >message "apply: Wrong type argument: consp, nil". This is rather >cryptic; it would be nice if Org-publish could say where it failed even >if not why it failed. ,---- | commit e8033b7f04a09cdbb7b092be5a7ed1f62828694d | Author: Eric Schulte | Date: Mon Jul 12 10:42:59 2010 -0700 | | org-exp: raise an error when trying to export code blocks w/o languages | | * lisp/ob.el (org-babel-get-src-block-info): ensure that we don't | match (and return info for) source blocks without a language | | * lisp/org-exp.el (org-export-replace-src-segments-and-examples): | updated source code block regexp so that the presence of a language | can be explicitly checked. Also now raising an error when a source | block does not have a language. `---- So there will be a more helpful error message. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de