> Actually, it was a mistake to remove the variable in the first place. As > a consequence, I re-introduced it in master. Thanks. That has fixed the free variable warning. @Thorsten But now you might need to have different versions of defadvice for org-store-log-note based on the value of org-version.