all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-export-to-buffer throws error if buffer is empty or contains empty lines only [9.0 (release_9.0-6-gf56456)]
Date: Sat, 19 Nov 2016 23:10:10 +0100	[thread overview]
Message-ID: <87h973ktod.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20161119123316.GG9272@seven> (Stefan-W. Hahn's message of "Sat, 19 Nov 2016 13:33:16 +0100")

Hello,

"Stefan-W. Hahn" <stefan.hahn@s-hahn.de> writes:

> Hello,
>
> when exporting buffers containing nothing or just empty lines, like:
>
> #+BEGIN_SRC emacs-lisp
> (with-temp-buffer
>   (org-mode)
>   (insert "")
>   (org-export-to-buffer 'html "*Formatted Copy*" nil nil t t))
> #+END_SRC
>
>
> then org-export-to-buffer throws an error:
>
> #+BEGIN_QUOTE
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2016-11-19 22:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 12:33 Bug: org-export-to-buffer throws error if buffer is empty or contains empty lines only [9.0 (release_9.0-6-gf56456)] Stefan-W. Hahn
2016-11-19 22:10 ` Nicolas Goaziou [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h973ktod.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=stefan.hahn@s-hahn.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.