From e4c4d85e594c98c1a0acc7555c216e5539c78a57 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Thu, 16 Aug 2012 00:27:35 +0200 Subject: [PATCH] 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. --- lisp/ob-ref.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ob-ref.el b/lisp/ob-ref.el index d2235898e..79861f1b7 100644 --- a/lisp/ob-ref.el +++ b/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."