summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-16 00:27:35 +0200
committerBastien Guerry <bzg@altern.org>2012-08-16 00:27:35 +0200
commite4c4d85e594c98c1a0acc7555c216e5539c78a57 (patch)
tree0ef54ba693584964b019fbea3a0ce868a336d41d
parenta4bef9a73d3df8629bb3698738e0eb5e34744a60 (diff)
downloadorg-mode-e4c4d85e594c98c1a0acc7555c216e5539c78a57.tar.gz
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.
-rw-r--r--lisp/ob-ref.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ob-ref.el b/lisp/ob-ref.el
index d223589..79861f1 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."