Explorar o código

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

Dan Davison %!s(int64=16) %!d(string=hai) anos
pai
achega
4dba8ad21f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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