org-macs: store evaluated version of pom
commiteced270fbf4246360455d697b97e4633a7a6bc06
authorJulien Danjou <julien@danjou.info>
Fri, 25 Feb 2011 18:30:33 +0000 (25 18:30 +0000)
committerBastien Guerry <bzg@altern.org>
Sun, 27 Feb 2011 12:44:57 +0000 (27 13:44 +0100)
treeba881d3a6462db7c03974badf237b0a72040ae8f
parentc2443d48e99aa4c1044dd817b51298586ab197fe
org-macs: store evaluated version of pom

* lisp/org-macs.el (org-with-point-at): Store evaluated version of pom. This
fixes a potential bug when using (org-with-point-at (func) …), where (func)
would be evaluated multiple times, therefore might return different results
if a marker was returned and different each time.

Signed-off-by: Julien Danjou <julien@danjou.info>
lisp/org-macs.el