소스 검색

babel: Bug fix in `org-babel-map-src-blocks'

	* ob.el (org-babel-map-src-blocks): Store correct value of `end-block'
Dan Davison 14 년 전
부모
커밋
ba9236054a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -750,7 +750,7 @@ end-body --------- point at the end of the body"
          (goto-char (match-beginning 0))
 	 (let ((full-block (match-string 0))
 	       (beg-block (match-beginning 0))
-	       (end-block (match-beginning 0))
+	       (end-block (match-end 0))
 	       (lang (match-string 2))
 	       (beg-lang (match-beginning 2))
 	       (end-lang (match-end 2))