New compatibility macro `org-with-silent-modifications'
commit372a3ecda8f06b623bdb136d6546c2aa396da3e0
authorBastien Guerry <bzg@altern.org>
Mon, 25 Feb 2013 10:44:27 +0000 (25 11:44 +0100)
committerBastien Guerry <bzg@altern.org>
Mon, 25 Feb 2013 10:44:27 +0000 (25 11:44 +0100)
tree0ed86093971ca9db36726e5c4d7d6b32c5370714
parent988240d5fd7a27678824690cf741ccbaf1da923a
New compatibility macro `org-with-silent-modifications'

* org-macs.el: Don't define `with-silent-modifications' for
emacsen that don't have it.

* org-compat.el (org-with-silent-modifications): New
compatibility macro.

* org.el (org-refresh-category-properties)
(org-refresh-properties, org-entry-blocked-p)
(org-agenda-prepare-buffers):
* org-indent.el (org-indent-remove-properties)
(org-indent-add-properties):
* org-colview.el (org-columns-display-here)
(org-columns-remove-overlays, org-columns-quit)
(org-columns-edit-value, org-columns-compute-all)
(org-columns-compute, org-agenda-colview-compute):
* org-clock.el (org-clock-sum): Use the compatibility macro
`org-with-silent-modifications' instead of
`with-silent-modifications'.

Thanks to Achim for a preliminary patch.
lisp/org-clock.el
lisp/org-colview.el
lisp/org-compat.el
lisp/org-indent.el
lisp/org-macs.el
lisp/org.el