Browse Source

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

Eric Schulte 15 years ago
parent
commit
dc5c41fbdc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/babel/lisp/org-babel-ref.el

+ 1 - 1
contrib/babel/lisp/org-babel-ref.el

@@ -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]*$")))