From 62142723fdab0c0ab438287b7211201f297005bc Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 19 Jun 2009 12:13:41 +0200 Subject: [PATCH] Fix critical bug in ID search. Patch by Michael Hohmuth. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index f4a32b16b..07d790f74 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -11898,7 +11898,7 @@ Return the position where this entry starts, or nil if there is no such entry." (when (re-search-forward (concat "^[ \t]*:ID:[ \t]+" (regexp-quote id) "[ \t]*$") nil t) - (org-back-to-heading) + (org-back-to-heading t) (point)))))) ;;;; Timestamps