I wrote a wrapper for the existing export function. My wrapper adds an appropriate bibliography:
link, calls the original export function and then removes the bibliography:
link. In summary, the function modifies the buffer, but undoes those modifications (without actually using undo
).
Is it safe to put the body of such a function inside with-silent-modifications
?