소스 검색

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

Eric Schulte 16 년 전
부모
커밋
dc5c41fbdc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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))
         (setq split-ref (match-string 2 ref))
         (find-file split-file) (setq ref split-ref))
         (find-file split-file) (setq ref split-ref))
       (goto-char (point-min))
       (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-quote ref) "[ \t]*$"))
                 (regexp (concat org-babel-source-name-regexp
                 (regexp (concat org-babel-source-name-regexp
                                 (regexp-quote ref) "\\(\(.*\)\\)?" "[ \t]*$")))
                                 (regexp-quote ref) "\\(\(.*\)\\)?" "[ \t]*$")))