added TODO to litorgy-ref.el
This commit is contained in:
parent
3fee1b9cd8
commit
a79b75eb78
|
@ -102,6 +102,8 @@ return nil."
|
|||
(find-file (match-string 1 ref))
|
||||
(setf ref (match-string 2 ref)))
|
||||
(goto-char (point-min))
|
||||
;; TODO This should explicitly look for #+resname: lines before
|
||||
;; looking for #+srcname: lines to avoid re-calculating code
|
||||
(unless (let ((regexp (concat "^#\\+\\(TBL\\|SRC\\|RES\\)NAME:[ \t]*"
|
||||
(regexp-quote ref) "[ \t]*$")))
|
||||
(or (re-search-forward regexp nil t)
|
||||
|
|
Loading…
Reference in New Issue