summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2014-06-04 12:05:45 -0400
committerEric Schulte <schulte.eric@gmail.com>2014-06-06 08:35:52 -0400
commitac7c465766d1d0d40ce68b98450eac6faad6a2e0 (patch)
tree02591b19ae816133db0dbc4300dbc6b9a7423e43
parenta5991acd69daca36ec48997ee20dfd160e784bd5 (diff)
downloadorg-mode-ac7c465766d1d0d40ce68b98450eac6faad6a2e0.tar.gz
TODO in ob-exp.el
-rw-r--r--lisp/ob-exp.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index 4412615..783892d 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -78,6 +78,10 @@ be executed."
(when heading
(condition-case nil
(let ((org-link-search-inhibit-query t))
+ ;; TODO: When multiple headings have the same title,
+ ;; this returns the first, which is not always
+ ;; the right heading. Consider a better way to
+ ;; find the proper heading.
(org-link-search heading))
(error (when heading
(goto-char (point-min))