mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-12 06:39:54 +00:00
Fix critical bug in ID search.
Patch by Michael Hohmuth.
This commit is contained in:
parent
4a53cead37
commit
62142723fd
|
@ -11898,7 +11898,7 @@ Return the position where this entry starts, or nil if there is no such entry."
|
||||||
(when (re-search-forward
|
(when (re-search-forward
|
||||||
(concat "^[ \t]*:ID:[ \t]+" (regexp-quote id) "[ \t]*$")
|
(concat "^[ \t]*:ID:[ \t]+" (regexp-quote id) "[ \t]*$")
|
||||||
nil t)
|
nil t)
|
||||||
(org-back-to-heading)
|
(org-back-to-heading t)
|
||||||
(point))))))
|
(point))))))
|
||||||
|
|
||||||
;;;; Timestamps
|
;;;; Timestamps
|
||||||
|
|
Loading…
Reference in a new issue