Browse Source

org-babel: a bug in reference-resolution caused by a typo

Dan Davison 15 years ago
parent
commit
4dba8ad21f
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

@@ -116,7 +116,7 @@ return nil."
             ;; goto ref in the current buffer
             (or (and (not args)
                      (or (re-search-forward result_regexp nil t)
-                         (re-search-forward result_regexp nil t)))
+                         (re-search-backward result_regexp nil t)))
                 (re-search-forward regexp nil t)
                 (re-search-backward regexp nil t)
                 ;; check the Library of Babel