[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Overriding org-html-headline or other export functions?
From: |
Brett Viren |
Subject: |
Re: [O] Overriding org-html-headline or other export functions? |
Date: |
Mon, 29 May 2017 15:14:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Marcin Borkowski <address@hidden> writes:
> It's been a while since I did that, but AFAIR deriving a new, slightly
> midified backend may be exactly what you want, since you seem to need to
> modify just one of the exporter functions.
Right, by my concern is I'm copy-pasting a large function just to change
basically one line.
I understand that instead of simply stepping on org-* function namespace
with my copy, I can rename my copy and make a derived exporter with my
modified function registered as a filter. But that doesn't get away
from now having a chunk of code that is at risk of diverging away as
Org's original develops further.
-Brett.