1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-12-28 10:56:57 +00:00

ob-ref: bug fix in new function

* lisp/ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
This commit is contained in:
Eric Schulte 2011-06-28 14:20:10 -07:00
parent 554021ad7f
commit cb67a439b1

View File

@ -82,6 +82,7 @@ the variable."
out))))))
(defun org-babel-ref-goto-headline-id (id)
(goto-char (point-min))
(let ((rx (regexp-quote id)))
(or (re-search-forward
(concat "^[ \t]*:CUSTOM_ID:[ \t]+" rx "[ \t]*$") nil t)