org-babel: fixed typo in reference resolution for #+results: lines

This commit is contained in:
Eric Schulte 2009-11-29 10:00:19 -07:00
parent ed69cd7f3b
commit dc5c41fbdc
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ return nil."
(setq split-ref (match-string 2 ref))
(find-file split-file) (setq ref split-ref))
(goto-char (point-min))
(if (let ((result_regexp (concat "^#\\+\\(TBLNAME\\|RESNAME\\|RESULT\\):[ \t]*"
(if (let ((result_regexp (concat "^#\\+\\(TBLNAME\\|RESNAME\\|RESULTS\\):[ \t]*"
(regexp-quote ref) "[ \t]*$"))
(regexp (concat org-babel-source-name-regexp
(regexp-quote ref) "\\(\(.*\)\\)?" "[ \t]*$")))