summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2009-06-19 12:13:41 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2009-06-19 12:13:41 +0200
commit62142723fdab0c0ab438287b7211201f297005bc (patch)
tree2506ba9825ab217f95f8e97488cd8544707fc734
parent4a53cead3740690de3a9a5cd6dc7eb91c0a16b6a (diff)
downloadorg-mode-62142723fdab0c0ab438287b7211201f297005bc.tar.gz
Fix critical bug in ID search.
Patch by Michael Hohmuth.
-rw-r--r--lisp/org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index f4a32b1..07d790f 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