added TODO to litorgy-ref.el

This commit is contained in:
Eric Schulte 2009-05-22 07:08:30 -07:00
parent 3fee1b9cd8
commit a79b75eb78
1 changed files with 2 additions and 0 deletions

View File

@ -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)