Re: [Orgmode] How to use variable in org publish function

2010-11-18 Thread Chao LU
Hi Nick, It works perfectly, thanks a lot~ Chao On Thu, Nov 18, 2010 at 9:50 AM, Nick Dokos wrote: > Chao LU wrote: > > > Dear all, > > > > I'm trying to define a variable, to let org-mode know different path to > use when I'm under different system (Windows or Mac), but got trouble to get >

Re: [Orgmode] How to use variable in org publish function

2010-11-18 Thread Nick Dokos
Chao LU wrote: > Dear all, > > I'm trying to define a variable, to let org-mode know different path to use > when I'm under different system (Windows or Mac), but got trouble to get it > work. Here is the Code: > > > (defconst lch-win32-p (eq system-type 'windows-nt) "Are we on Windows?")

[Orgmode] How to use variable in org publish function

2010-11-17 Thread Chao LU
Dear all, I'm trying to define a variable, to let org-mode know different path to use when I'm under different system (Windows or Mac), but got trouble to get it work. Here is the Code: (defconst lch-win32-p (eq system-type 'windows-nt) "Are we on Windows?") (defconst lch-mac-p (eq system-ty