There is a problem string formatting a % character after an actual %format character. For example:
(format "%% %s %%" "hello world") ; *should* => "% hello world %"
...but, in actuality, does "% hello world %%".
This will be fixed in 9.1.8 (due this weekend). As a workaround use:
(format "%c %s %c" 37 "hello" 37) => "% hello %"
Lutz
Looks like a bug. You'll have to use something like the following, as a work around.
> (format "%% %s %%%s" "hello world" "")
"% hello world %"
P.S. -- Oops, Lutz beat me with another workaround. Lutz is Quick-Draw McGraw. :-)
Thanks guys!