Преглед изворни кода

Fix critical bug in ID search.

Patch by Michael Hohmuth.
Carsten Dominik пре 16 година
родитељ
комит
62142723fd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lisp/org.el

+ 1 - 1
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