소스 검색

ob: fixed issue with ":results replace org"

* lisp/ob.el (org-babel-result-end): Now recognizes "#+begin_org"
  blocks for removal.
Eric Schulte 14 년 전
부모
커밋
db0e815a4c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/ob.el

+ 1 - 1
lisp/ob.el

@@ -1547,7 +1547,7 @@ code ---- the results are extracted in the syntax of the source
      (t
       (let ((case-fold-search t)
 	    (blocks-re (regexp-opt
-			(list "latex" "html" "example" "src" "result"))))
+			(list "latex" "html" "example" "src" "result" "org"))))
 	(if (looking-at (concat "[ \t]*#\\+begin_" blocks-re))
 	    (progn (re-search-forward (concat "[ \t]*#\\+end_" blocks-re) nil t)
 		   (forward-char 1))