23 Dec 11:47
org-infojs-handle-options fails when :infojs-opt is not in exp-list
Friedrich Delgado Friedrichs <friedel <at> nomaden.org>
2008-12-23 10:47:36 GMT
2008-12-23 10:47:36 GMT
Hi.
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 <at> nomaden.org>
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
RSS Feed