Uriel Avalos <amscopub-m...@yahoo.com> wrote: > On Thu, 17 Feb 2011 04:24:58 +0100 > Bastien <bastien.gue...@wikimedia.fr> wrote: > > > Hi uriel, > > > > Uriel Avalos <uriava...@yahoo.com> writes: > > > > > #+BIND: org-export-html-protect-char-alist '("&" . "&") > > > > > > That's telling me I'm using the "wrong type argument: listp, quote" > > > > It must be this: > > > > #+BIND: org-export-html-protect-char-alist '(("&" . "&")) > > > > The "-alist" suffix means it should be an alist -- see the Info node for > > Association lists in the Elisp manual. > > > > -- > > Bastien > > > > _______________________________________________ > > Emacs-orgmode mailing list > > Please use `Reply All' to send replies to the list. > > Emacs-orgmode@gnu.org > > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > Nope. It still doesn't work. This is my test file: > > #+BIND: org-export-html-protect-char-alist '(("&" . "&")) > #+MACRO test & should stay as is > > Hello world & > > I get the same error when I try to export: "wrong type argument: listp, quote" >
[Sent a terser reply earlier, but it never made it to the list: mail problem on my end.] Lose the quote (that will cure the emacs error) and add a header: the <title> element in HTML still gets the & treatment: --8<---------------cut here---------------start------------->8--- #+BIND: org-export-html-protect-char-alist (("&" . "&")) #+MACRO test & should stay as is * foo & bar Hello world & --8<---------------cut here---------------end--------------->8--- Nick _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode