Hi Achim,
Achim Gratz <[email protected]> writes:
> Bastien writes:
>> I hereby declare that I want Org to be fully functional for Emacs 23
>> and older, and I wish Org can be reasonably functional for Emacs <23
>> and XEmacs.
>
> If I may say so, XEmacs and Emacs up to 23.2 are missing
> with-silent-modifications, preferring to make them loudly.
>
> Compatibility macro, please (you can glean it from the magit folks, you
> might want to check if PJ Weisberg aka Bourgouignon has FSF copyright
> assigned).
There is already this in org-macs.el:
(when (and (not (fboundp 'with-silent-modifications))
(or (< emacs-major-version 23)
(and (= emacs-major-version 23)
(< emacs-minor-version 2))))
(defmacro with-silent-modifications (&rest body)
`(org-unmodified ,@body))
(def-edebug-spec with-silent-modifications (body)))
> Remarks,
Rewards,
--
Bastien