New macro `org-with-buffer-modified-unmodified'
commit14c3635a0dc532401ba3aa9a5b5c2650bc562b40
authorBastien Guerry <bzg@altern.org>
Sun, 30 Dec 2012 00:21:27 +0000 (30 01:21 +0100)
committerBastien Guerry <bzg@altern.org>
Sun, 30 Dec 2012 00:21:27 +0000 (30 01:21 +0100)
treefab1c07ac5187feb3db9a636938ab9ee9a4d0ebb
parente4ca9f44e3e05576df83b91ec88c525903a83ace
New macro `org-with-buffer-modified-unmodified'

* org-macs.el (org-with-buffer-modified-unmodified): New
macro.

* org.el (org-entry-blocked-p): Use the new macro.

Thanks to Nick Dokos for reporting this.

The macro is a copy of `with-buffer-modified-unmodified'
which (wrongly?) lives in bookmark.el.
lisp/org-macs.el
lisp/org.el