Forráskód Böngészése

ob-ref.el (org-babel-ref-index-list): Fix bug introduced by commit e85479

* ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
commit e85479.

Thanks to Ivars Finvers who reported it and gave the correct patch.
Bastien Guerry 12 éve
szülő
commit
e4c4d85e59
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      lisp/ob-ref.el

+ 2 - 2
lisp/ob-ref.el

@@ -240,8 +240,8 @@ to \"0:-1\"."
 			   (funcall wrap (string-to-number (match-string 2 portion)))
 			   (funcall wrap (string-to-number (match-string 3 portion))))
 			(list (funcall wrap 0) (funcall wrap -1)))))
-	    (list (nth (funcall wrap (string-to-number portion)) lis)))))))
-  lis)
+	    (list (nth (funcall wrap (string-to-number portion)) lis))))))
+    lis))
 
 (defun org-babel-ref-split-args (arg-string)
   "Split ARG-STRING into top-level arguments of balanced parenthesis."