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:
parent
554021ad7f
commit
cb67a439b1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user