all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] Texinfo: Error when exporting source block with no language
@ 2024-12-21 12:03 8dcc
  0 siblings, 0 replies; only message in thread
From: 8dcc @ 2024-12-21 12:03 UTC (permalink / raw)
  To: emacs-orgmode

Hello, when trying to export the following Org file:

    #+begin_src
    Hello, world.
    #+end_src

To texinfo using `org-texinfo-export-to-texinfo', I get the following
error:

    Debugger entered--Lisp error: (wrong-type-argument stringp nil)
      org-texinfo-src-block((src-block (:language nil <snip>)))
      org-export-data((src-block (:language nil <snip>)))

However, if I change contents of the Org file to this, even if it's a
non-existing language, it works:

    #+begin_src foobar
    Hello, world.
    #+end_src

And produces:

    <...>
    @example
    Hello, world.
    @end example
    <...>

I am using Org mode version 9.6.15 in GNU Emacs 29.4.

Thanks.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-21 12:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-21 12:03 [BUG] Texinfo: Error when exporting source block with no language 8dcc

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.