Hi List, sometimes I want to call one of the org-<foo>-export functions with a different environment, i.e. with different values for the backend-specific customizable export variables, e.g.
,---- | (let ((org-taskjuggler-default-project-duration 1)) ; default is 280 | (org-taskjuggler-export-and-process ...)) `---- I activate an around-advice for org-taskjuggler-export (which does the real work) doing that ,---- | (defadvice org-taskjuggler-export (around org-taskjuggler-export-around) | (let ((org-taskjuggler-default-project-duration 1)) | ad-do-it)) | | ((ad-activate 'org-taskjuggler-export) `---- but nothing changes - default duration is still shown as 280, not 1. Is this supposed to work? -- cheers, Thorsten