Hi Julien,
Julien Danjou writes:
> Yes it is. This patch just fix one problem. Without it, what is set
> with pom is evaluated multiple times:
>
> (org-with-point-at (function-that-return-some-marker)
> (do-stuff))
>
> (function-that-return-some-marker) will be called several times, which
> ca
On Sat, Feb 26 2011, Bastien wrote:
>> * 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
>
> I'm not sure I understand this patch.
>
> Can you show an actu
Hi Julien,
Julien Danjou writes:
> * 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
I'm not sure I understand this patch.
Can you show an actual use of
* 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: Juli