[O] small koma bug

2014-03-10 Thread Alan Schmitt
Hello Rasmus and all, I think I have found a small bug in ox-koma-letter, but to fix it I would like your input. The bug: if from-address is not specified in the file, then it will be set unconditionally to the empty string, even if it is specified in an lco file. The reason of the bug is as

Re: [O] small koma bug

2014-03-10 Thread Rasmus
Hi Alan, Alan Schmitt alan.schm...@polytechnique.org writes: I think I have found a small bug in ox-koma-letter, but to fix it I would like your input. The bug: if from-address is not specified in the file, then it will be set unconditionally to the empty string, even if it is specified in

Re: [O] small koma bug

2014-03-10 Thread Alan Schmitt
Rasmus ras...@gmx.us writes: How about: (let ((from-address (org-koma-letter--determine-to-and-from info 'from))) (and (org-string-nw-p from-address) (format \\setkomavar{fromaddress}{%s}\n from-address))) Or more explicitly (let ((from-address