emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Friedrich Delgado Friedrichs <friedel@nomaden.org>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: org-infojs-handle-options fails when :infojs-opt is not in exp-list
Date: Tue, 23 Dec 2008 11:47:36 +0100	[thread overview]
Message-ID: <20081223104736.GA25075@taupan.ath.cx> (raw)


I got

 org-infojs-handle-options: Wrong type argument: stringp, nil

the first time I tried to do a html export with java script turned on.

I didn't change any options in 'Org Infojs Options' yet, so I guess
that's why (plist-get exp-plist :infojs-opt) returns nil and
string-match gives an error.

Workaround: set an option
Fix: Uhm, probably

(or (not (plist-get exp-plist :infojs-opt))
            (not (plist-get exp-plist :infojs-opt))
            (string-match "\\<view:nil\\>"
                                         (plist-get exp-plist :infojs-opt)))

Or something like that.

        Friedrich Delgado Friedrichs <friedel@nomaden.org>

             reply	other threads:[~2008-12-23 10:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-23 10:47 Friedrich Delgado Friedrichs [this message]
2008-12-23 10:56 ` Friedrich Delgado Friedrichs
2008-12-23 11:14   ` Friedrich Delgado Friedrichs
2009-01-08 14:12     ` Friedrich Delgado Friedrichs
2009-01-08 14:36       ` Carsten Dominik

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:

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=20081223104736.GA25075@taupan.ath.cx \
    --to=friedel@nomaden.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-infojs-handle-options fails when :infojs-opt is not in exp-list' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).