소스 검색

ob: Fix bug in using #+babel properties in fresh buffer

* lisp/ob.el (org-babel-params-from-buffer): Return desired value
rather than nil from failed re search.
Dan Davison 14 년 전
부모
커밋
775d962788
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      lisp/ob.el

+ 2 - 1
lisp/ob.el

@@ -893,7 +893,8 @@ may be specified in the current buffer."
 		    (org-babel-merge-params
 		     org-babel-current-buffer-properties
 		     (org-babel-parse-header-arguments
-		      (org-match-string-no-properties 2))))))))))
+		      (org-match-string-no-properties 2)))))
+	    org-babel-current-buffer-properties)))))
 
 (defvar org-src-preserve-indentation)
 (defun org-babel-parse-src-block-match ()