소스 검색

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 13 년 전
부모
커밋
e4c4d85e59
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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."