Hi Bastien,
> I was wondering why this patch was reversed in master.I think the line didn't change since 4a49e40d but I might be wrong.
Looks like the "updated" version is the same than the one you sent
> An updated version of the patch is attached, and a discussion of what
> it does is below.
first: http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg00938.html
... and there is an updated one in the same thread:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-01/msg01073.html
Which one should I apply?
Could you add a commit message with an Emacs changelog to your patch?