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
  2024-12-22 17:06 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

end of thread, other threads:[~2024-12-22 17:05 UTC | newest]

Thread overview: 2+ messages (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
2024-12-22 17:06 ` Ihor Radchenko

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.